/* ==========================================================================
   AIMER HOMEPAGE UPGRADED SECTIONS: Programs, The AIMER Method, Faculty
   ========================================================================== */

/* --- GLOBAL SECTION RULES --- */
.section-upgrade-wrap {
  padding: 60px 0;
  position: relative;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .section-upgrade-wrap {
    padding: 36px 0;
  }
}

/* Accessible teal focus ring (2px outline, 3px offset) */
.section-upgrade-wrap a:focus-visible,
.section-upgrade-wrap button:focus-visible,
.section-upgrade-wrap [tabindex]:focus-visible {
  outline: 2px solid var(--teal-bright, #14B8A6) !important;
  outline-offset: 3px !important;
}

/* Reduced Motion Mode */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .prog-finder-card,
  .method-step-card,
  .fac-card,
  .method-rail-fill,
  .fac-rail-dot,
  .fac-carousel-stage {
    transition: none !important;
    transform: none !important;
  }
  .method-step-card {
    opacity: 1 !important;
    transform: none !important;
  }
  .method-rail-fill {
    width: 100% !important;
    height: 100% !important;
  }
}

/* ==========================================================================
   UNIVERSAL EXECUTIVE EYEBROW BADGE
   ========================================================================== */
.section-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 12px rgba(45, 212, 191, 0.08);
  transition: all 0.25s ease;
}

.section-eyebrow-badge:hover {
  background: rgba(20, 184, 166, 0.14);
  border-color: rgba(94, 234, 212, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 16px rgba(45, 212, 191, 0.18);
}

.section-eyebrow-text {
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5EEAD4;
}

/* ==========================================================================
   SECTION 1 — PROGRAMME FINDER: WHICH PROGRAMME IS RIGHT FOR YOU?
   ========================================================================== */

#programmes {
  background: var(--bg, #07090C);
  position: relative;
  overflow: hidden;
}

.prog-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.prog-header-left {
  max-width: 680px;
}

.prog-section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-family: var(--font, 'Archivo', sans-serif);
  font-weight: 850;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.15;
  color: #FFFFFF;
}

.prog-section-desc {
  color: var(--muted, #94A3B8);
  max-width: 460px;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
}

/* Stage Tabs Bar */
.prog-tabs-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 4px 14px;
  margin-bottom: 36px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.prog-tabs-bar::-webkit-scrollbar {
  display: none;
}

.prog-tab-btn {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted, #94A3B8);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.prog-tab-btn:hover {
  color: #FFFFFF;
  border-color: rgba(94, 234, 212, 0.4);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.prog-tab-btn.active {
  background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
  border-color: #2DD4BF;
  color: #04141A;
  font-weight: 750;
  box-shadow: 0 4px 18px rgba(20, 184, 166, 0.35);
  transform: translateY(-1px);
}

.prog-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  line-height: 1;
}

/* Grid Layout */
.prog-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

@media (max-width: 1180px) {
  .prog-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .prog-cards-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Program Card - Obsidian Glass Luxury Aesthetic */
.prog-finder-card {
  background: linear-gradient(180deg, rgba(14, 24, 34, 0.85) 0%, rgba(7, 13, 19, 0.95) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  box-sizing: border-box;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 36px rgba(0, 0, 0, 0.45);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, opacity 200ms ease;
  will-change: transform, box-shadow;
}

.prog-finder-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 212, 191, 0.45);
  box-shadow: inset 0 1px 0 rgba(45, 212, 191, 0.28), 0 24px 48px -10px rgba(13, 148, 136, 0.3);
}

.prog-card-hover-arrow {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.3);
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.2s ease, color 0.2s ease;
}

.prog-finder-card:hover .prog-card-hover-arrow {
  transform: translateX(4px);
  color: #5EEAD4;
}

/* Most Popular Ribbon */
.prog-popular-ribbon {
  position: absolute;
  top: -11px;
  right: 20px;
  background: linear-gradient(135deg, #2DD4BF 0%, #0D9488 100%);
  color: #04141A;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.4);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.popular-ribbon-sparkle {
  font-size: 10px;
  line-height: 1;
}

/* 1. Meta Row */
.prog-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  white-space: nowrap;
  gap: 8px;
  min-height: 28px;
  width: 100%;
}

.prog-category-chip {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 750;
  color: #5EEAD4;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.24);
  border-radius: 999px;
  padding: 5px 12px;
  line-height: 1;
}

.prog-duration-wrap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--muted, #94A3B8);
  font-weight: 500;
}

.prog-duration-wrap svg {
  flex-shrink: 0;
  opacity: 0.8;
  color: #5EEAD4;
}

/* 2. Title */
.prog-card-title {
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  font-family: var(--font, 'Archivo', sans-serif);
  font-weight: 850;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 18px 0 10px;
  min-height: calc(1.7rem * 1.2 * 2);
  display: flex;
  align-items: flex-start;
}

.prog-title-link {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.2s ease;
}

.prog-finder-card:hover .prog-title-link,
.prog-title-link:hover {
  color: #5EEAD4;
}

/* 3. Description */
.prog-card-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted, #94A3B8);
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(14.5px * 1.6 * 3);
}

/* 4. Divider */
.prog-card-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 0 18px;
  height: 1px;
}

/* 5. Facts Block */
.prog-facts-dl {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 110px;
}

.prog-fact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.prog-fact-dt {
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #64748B;
  margin: 0;
}

.prog-fact-dd {
  font-size: 14.5px;
  color: #F1F5F9;
  line-height: 1.45;
  margin: 0;
}

.prog-hero-num {
  color: #2DD4BF;
  font-weight: 700;
}

/* 6. Benefit Chips */
.prog-benefit-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 32px;
  margin-bottom: 22px;
}

.prog-benefit-chip {
  font-size: 12px;
  font-weight: 600;
  color: #5EEAD4;
  background: rgba(20, 184, 166, 0.06);
  border: 1px solid rgba(20, 184, 166, 0.24);
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.2;
}

/* 7. CTA Row */
.prog-cta-group {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.prog-btn-explore {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 14px;
  height: 46px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s ease;
  cursor: pointer;
}

.prog-btn-explore svg {
  transition: transform 0.2s ease;
}

.prog-btn-explore:hover {
  background: rgba(20, 184, 166, 0.16);
  border-color: #2DD4BF;
  color: #5EEAD4 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.25);
}

.prog-btn-explore:hover svg {
  transform: translateX(3px);
}

.prog-btn-apply {
  background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
  color: #04141A !important;
  font-weight: 750;
  font-size: 14.5px;
  height: 46px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.3);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.prog-btn-apply:hover {
  background: #2DD4BF;
  color: #04141A !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.45);
}

/* ==========================================================================
   PROGRAMME CARDS & TABS INDIVIDUAL COLOR IDENTITIES
   HSBIP = Emerald (#10B981) | UGBIP = Royal Cobalt (#3B82F6) | PGBIP = Royal Purple (#8B5CF6)
   ========================================================================== */

/* HSBIP (Emerald / Mint Teal) */
.prog-tab-btn[data-filter="hsbip"].active {
  border-color: #34D399 !important;
  color: #34D399 !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25) !important;
}
.prog-finder-card[data-filter-stage="hsbip"] .prog-category-chip {
  background: rgba(16, 185, 129, 0.14);
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.3);
}
.prog-finder-card[data-filter-stage="hsbip"]:hover {
  border-color: rgba(52, 211, 153, 0.5) !important;
  box-shadow: inset 0 1px 0 rgba(52, 211, 153, 0.3), 0 24px 48px -10px rgba(16, 185, 129, 0.35) !important;
}
.prog-finder-card[data-filter-stage="hsbip"]:hover .prog-card-hover-arrow {
  color: #34D399 !important;
}
.prog-finder-card[data-filter-stage="hsbip"]:hover .prog-title-link {
  color: #6EE7B7 !important;
}
.prog-finder-card[data-filter-stage="hsbip"] .prog-btn-explore:hover {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: #34D399 !important;
  color: #6EE7B7 !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3) !important;
}
.prog-finder-card[data-filter-stage="hsbip"] .prog-btn-apply {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  color: #032117 !important;
}
.prog-finder-card[data-filter-stage="hsbip"] .prog-btn-apply:hover {
  background: #34D399 !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5) !important;
}

/* UGBIP (Royal Cobalt Blue) */
.prog-tab-btn[data-filter="ugbip"].active {
  border-color: #60A5FA !important;
  color: #60A5FA !important;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25) !important;
}
.prog-finder-card[data-filter-stage="ugbip"] .prog-category-chip {
  background: rgba(59, 130, 246, 0.14);
  color: #60A5FA;
  border: 1px solid rgba(96, 165, 250, 0.3);
}
.prog-finder-card[data-filter-stage="ugbip"]:hover {
  border-color: rgba(96, 165, 250, 0.5) !important;
  box-shadow: inset 0 1px 0 rgba(96, 165, 250, 0.3), 0 24px 48px -10px rgba(37, 99, 235, 0.35) !important;
}
.prog-finder-card[data-filter-stage="ugbip"]:hover .prog-card-hover-arrow {
  color: #60A5FA !important;
}
.prog-finder-card[data-filter-stage="ugbip"]:hover .prog-title-link {
  color: #93C5FD !important;
}
.prog-finder-card[data-filter-stage="ugbip"] .prog-btn-explore:hover {
  background: rgba(59, 130, 246, 0.2) !important;
  border-color: #60A5FA !important;
  color: #93C5FD !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3) !important;
}
.prog-finder-card[data-filter-stage="ugbip"] .prog-btn-apply {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%) !important;
  color: #071733 !important;
}
.prog-finder-card[data-filter-stage="ugbip"] .prog-btn-apply:hover {
  background: #60A5FA !important;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5) !important;
}

/* PGBIP (Royal Purple / Violet) */
.prog-tab-btn[data-filter="pgbip"].active {
  border-color: #A78BFA !important;
  color: #A78BFA !important;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.25) !important;
}
.prog-finder-card[data-filter-stage="pgbip"] .prog-category-chip {
  background: rgba(139, 92, 246, 0.14);
  color: #A78BFA;
  border: 1px solid rgba(167, 139, 250, 0.3);
}
.prog-finder-card[data-filter-stage="pgbip"]:hover {
  border-color: rgba(167, 139, 250, 0.5) !important;
  box-shadow: inset 0 1px 0 rgba(167, 139, 250, 0.3), 0 24px 48px -10px rgba(124, 58, 237, 0.35) !important;
}
.prog-finder-card[data-filter-stage="pgbip"]:hover .prog-card-hover-arrow {
  color: #A78BFA !important;
}
.prog-finder-card[data-filter-stage="pgbip"]:hover .prog-title-link {
  color: #C4B5FD !important;
}
.prog-finder-card[data-filter-stage="pgbip"] .prog-btn-explore:hover {
  background: rgba(139, 92, 246, 0.2) !important;
  border-color: #A78BFA !important;
  color: #C4B5FD !important;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3) !important;
}
.prog-finder-card[data-filter-stage="pgbip"] .prog-btn-apply {
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%) !important;
  color: #17092E !important;
}
.prog-finder-card[data-filter-stage="pgbip"] .prog-btn-apply:hover {
  background: #A78BFA !important;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5) !important;
}

/* Specialised (HR & AI Tracks - Vibrant Cyan / Teal) */
.prog-tab-btn[data-filter="specialised"].active {
  border-color: #2DD4BF !important;
  color: #2DD4BF !important;
  box-shadow: 0 4px 16px rgba(45, 212, 191, 0.25) !important;
}
.prog-finder-card[data-filter-stage="specialised"] .prog-category-chip {
  background: rgba(45, 212, 191, 0.14);
  color: #2DD4BF;
  border: 1px solid rgba(45, 212, 191, 0.3);
}

/* ==========================================================================
   SECTION 2 — THE AIMER METHOD: ONE INTEGRATED JOURNEY
   ========================================================================== */

#aimer-method {
  border-top: 1px solid var(--rule, #1D2A33);
  border-bottom: 1px solid var(--rule, #1D2A33);
  background: var(--panel, #0D1419);
  margin: 0;
  position: relative;
  overflow: hidden;
}

.method-header-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}

.method-title {
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-family: var(--font, 'Archivo', sans-serif);
  font-weight: 850;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  color: #FFFFFF;
  line-height: 1.18;
}

.method-title-accent {
  background: linear-gradient(135deg, #5EEAD4 0%, #2DD4BF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.method-subcopy {
  color: var(--muted, #94A3B8);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 680px;
}

/* Timeline Container (Desktop Horizontal) */
.method-timeline-container {
  position: relative;
  width: 100%;
}

.method-rail-outer {
  position: relative;
  width: 100%;
  margin-bottom: 28px;
}

.method-rail-base {
  position: absolute;
  top: 22px;
  left: 7%;
  right: 7%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.method-rail-fill {
  position: absolute;
  top: 22px;
  left: 7%;
  height: 2px;
  width: 0%;
  max-width: 86%;
  background: linear-gradient(90deg, #0D9488 0%, #2DD4BF 100%);
  z-index: 2;
  transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.method-nodes-row {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.method-node {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease;
}

.method-node-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: #0D161F;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.method-node-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted, #94A3B8);
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.method-node:hover .method-node-num {
  border-color: #2DD4BF;
  color: #FFFFFF;
  transform: scale(1.08);
}

.method-node:hover .method-node-label {
  color: #FFFFFF;
}

.method-node.passed .method-node-num,
.method-node.active .method-node-num {
  background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
  border-color: #2DD4BF;
  color: #04141A;
}

.method-node.passed .method-node-label,
.method-node.active .method-node-label {
  color: #5EEAD4;
}

.method-node.current .method-node-num {
  box-shadow: 0 0 0 6px rgba(20, 184, 166, 0.35);
  animation: pulseNodeRing 2s infinite ease-out;
}

@keyframes pulseNodeRing {
  0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(20, 184, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
}

/* Horizontal Cards Grid */
.method-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  width: 100%;
}

.method-step-card {
  background: linear-gradient(180deg, rgba(14, 23, 32, 0.85) 0%, rgba(8, 14, 20, 0.95) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 12px 28px rgba(0, 0, 0, 0.35);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
  opacity: 1 !important;
  transform: none !important;
}

.method-step-card:hover,
.method-step-card.highlighted,
.method-step-card.expanded {
  border-color: rgba(45, 212, 191, 0.45);
  background: linear-gradient(180deg, rgba(18, 30, 42, 0.92) 0%, rgba(10, 18, 25, 0.98) 100%);
  transform: translateY(-4px) !important;
  box-shadow: inset 0 1px 0 rgba(45, 212, 191, 0.25), 0 20px 40px -10px rgba(13, 148, 136, 0.25);
}

.method-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.method-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.24);
  color: #2DD4BF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-card-eyebrow {
  font-size: 11px;
  font-weight: 800;
  color: #5EEAD4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.method-card-title {
  font-size: 1.35rem;
  font-family: var(--font, 'Archivo', sans-serif);
  font-weight: 850;
  color: #FFFFFF;
  margin: 0 0 10px;
  line-height: 1.2;
}

.method-card-desc {
  font-size: 14px;
  color: var(--muted, #94A3B8);
  line-height: 1.55;
  margin: 0 0 16px;
  flex-grow: 1;
  min-height: 64px;
}

.method-proof-line {
  font-size: 12.5px;
  font-weight: 600;
  color: #E2E8F0;
  background: rgba(20, 184, 166, 0.08);
  padding: 8px 12px;
  border-radius: 8px;
  border-left: 3px solid #2DD4BF;
  margin-top: auto;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 7px;
}

.proof-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2DD4BF;
  flex-shrink: 0;
}

/* Accordion Toggle Affordance */
.method-accordion-toggle {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #5EEAD4;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}

.method-accordion-toggle:hover {
  color: #FFFFFF;
}

.method-chevron-icon {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #2DD4BF;
}

.method-step-card.expanded .method-chevron-icon {
  transform: rotate(180deg);
}

/* Accordion Detail Drawer */
.method-accordion-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms cubic-bezier(0.16, 1, 0.3, 1), opacity 250ms ease;
  opacity: 0;
}

.method-step-card.expanded .method-accordion-drawer {
  max-height: 280px;
  opacity: 1;
  margin-top: 10px;
}

.method-bullets-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.method-bullet-item {
  font-size: 13px;
  color: #CBD5E1;
  line-height: 1.45;
  position: relative;
  padding-left: 16px;
}

.method-bullet-item::before {
  content: '→';
  color: #2DD4BF;
  position: absolute;
  left: 0;
  font-weight: 700;
  font-size: 12px;
}

/* Responsive: Below 1024px -> Vertical Timeline */
@media (max-width: 1023px) {
  .method-rail-outer {
    display: none;
  }

  .method-timeline-container {
    position: relative;
    padding-left: 48px;
    margin-top: 24px;
  }

  .method-vertical-rail-base {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 20px;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
  }

  .method-vertical-rail-fill {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #0D9488 0%, #2DD4BF 100%);
    z-index: 2;
  }

  .method-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
  }

  .method-step-card {
    position: relative;
  }

  .method-vertical-node {
    display: flex !important;
    position: absolute;
    left: -48px;
    top: 20px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #2DD4BF;
    background: #071016;
    color: #5EEAD4;
    font-size: 12px;
    font-weight: 850;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.25s ease;
    box-shadow: 0 0 12px rgba(45, 212, 191, 0.35);
  }

  .method-vertical-node.active,
  .method-vertical-node.passed {
    background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
    border-color: #2DD4BF;
    color: #04141A;
  }

  .method-vertical-node.current {
    box-shadow: 0 0 0 5px rgba(20, 184, 166, 0.35);
  }
}

@media (min-width: 1024px) {
  .method-vertical-node {
    display: none !important;
  }
}


/* ==========================================================================
   SECTION 3 — FACULTY (Reference Video Rebuild)
   ========================================================================== */

#faculty {
  background: var(--panel, #0D1419);
  border-top: 1px solid var(--rule, #1D2A33);
  border-bottom: 1px solid var(--rule, #1D2A33);
  margin: 0;
  overflow: hidden;
}

/* Faculty Section Header */
.fac-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 48px;
}

.fac-header-left {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 24px;
}

.fac-headline-big {
  font-family: var(--font, 'Archivo', sans-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
  background: linear-gradient(135deg, #F8E1A6 0%, #D4AF37 50%, #B88928 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fac-header-sub {
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  color: #FFFFFF;
  text-transform: uppercase;
  max-width: 320px;
  margin: 0;
}

.fac-view-all-pill {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 10px 22px;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.fac-view-all-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Faculty 2-Column Split Body */
.fac-split-layout {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  position: relative;
}

/* Left Column (~22% width): Category Switcher */
.fac-sidebar-switcher {
  flex: 0 0 22%;
  min-width: 200px;
  position: relative;
  padding-right: 28px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.fac-sidebar-rail {
  position: absolute;
  top: 14px;
  bottom: 24px;
  right: 0;
  width: 1.5px;
  background: rgba(255, 255, 255, 0.12);
}

.fac-rail-dot {
  position: absolute;
  right: -5.5px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal-hover, #12B4C6);
  box-shadow: 0 0 14px var(--teal-hover, #12B4C6), 0 0 4px var(--accent-mint, #CEF3E4);
  transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}

.fac-cat-item {
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  opacity: 0.42;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fac-cat-item:hover {
  opacity: 0.85;
}

.fac-cat-item.active {
  opacity: 1;
}

.fac-cat-label {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
}

.fac-cat-stat {
  font-size: 48px;
  font-weight: 850;
  line-height: 1;
  color: var(--teal-hover, #12B4C6);
  margin: 0;
  letter-spacing: -0.02em;
}

/* Right Column (~75% width): Carousel Stage */
.fac-carousel-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fac-carousel-stage {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  width: 100%;
  overflow: visible;
  position: relative;
  min-height: 480px;
  user-select: none;
  touch-action: pan-y;
}

/* 5 Portrait Cards in a row, bottom-aligned */
.fac-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  position: relative;
  transition: all 600ms cubic-bezier(0.22, 1, 0.36, 1);
  min-width: 0;
  flex-shrink: 0;
}

/* Stepped Scaling: Card 1 is largest, cards 2-5 step down gracefully */
.fac-card.pos-0 {
  flex: 0 0 calc(25% - 13px);
  opacity: 1;
  z-index: 5;
}
.fac-card.pos-0 .fac-photo-frame {
  height: 360px;
}

.fac-card.pos-1 {
  flex: 0 0 calc(21.5% - 13px);
  opacity: 0.95;
  z-index: 4;
}
.fac-card.pos-1 .fac-photo-frame {
  height: 320px;
}

.fac-card.pos-2 {
  flex: 0 0 calc(19% - 13px);
  opacity: 0.90;
  z-index: 3;
}
.fac-card.pos-2 .fac-photo-frame {
  height: 285px;
}

.fac-card.pos-3 {
  flex: 0 0 calc(17.5% - 13px);
  opacity: 0.82;
  z-index: 2;
}
.fac-card.pos-3 .fac-photo-frame {
  height: 255px;
}

.fac-card.pos-4 {
  flex: 0 0 calc(17% - 13px);
  opacity: 0.75;
  z-index: 1;
}
.fac-card.pos-4 .fac-photo-frame {
  height: 230px;
}

.fac-card.pos-hidden {
  display: none !important;
}

/* Photo Card Frame */
.fac-photo-frame {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #091217;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: height 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.fac-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.fac-card:hover .fac-photo-img {
  transform: scale(1.04);
}

/* Hover Duotone & Bio Overlay */
.fac-photo-duotone {
  position: absolute;
  inset: 0;
  background: rgba(20, 184, 166, 0.7);
  mix-blend-mode: color;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.fac-card:hover .fac-photo-duotone {
  opacity: 1;
}

.fac-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 12, 18, 0.2) 0%, rgba(6, 12, 18, 0.92) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  box-sizing: border-box;
}

.fac-card:hover .fac-hover-overlay {
  opacity: 1;
}

.fac-overlay-bio {
  font-size: 12px;
  color: #FFFFFF;
  line-height: 1.4;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fac-overlay-li-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5EEAD4;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.fac-overlay-li-link:hover {
  text-decoration: underline;
}

/* Info block under photo */
.fac-info-block {
  padding-top: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 60px;
}

.fac-company-logo {
  height: 24px;
  max-width: 48px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  flex-shrink: 0;
  margin-top: 2px;
}

.fac-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fac-name {
  font-size: 16px;
  font-weight: 750;
  color: #FFFFFF;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fac-role {
  font-size: 13px;
  color: var(--muted, #94A3B8);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Controls (Prev/Next buttons & announcements) */
.fac-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 8px;
}

.fac-indicators-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.fac-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
}

.fac-dot.active {
  background: var(--teal-bright, #14B8A6);
  width: 24px;
  border-radius: 999px;
}

.fac-nav-btns {
  display: flex;
  gap: 12px;
}

.fac-ctrl-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fac-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

/* Responsive: Tablet (768px - 1023px) */
@media (max-width: 1023px) {
  .fac-split-layout {
    flex-direction: column;
    gap: 28px;
  }

  .fac-sidebar-switcher {
    flex: none;
    width: 100%;
    padding-right: 0;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
  }

  .fac-sidebar-rail {
    display: none;
  }

  .fac-cat-item {
    background: #091319;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 12px 18px;
    flex: 1;
  }

  .fac-cat-stat {
    font-size: 32px;
  }

  .fac-cat-item.active {
    border-color: var(--teal-bright, #14B8A6);
    background: rgba(20, 184, 166, 0.08);
  }

  /* Show 3 stepped cards on tablet */
  .fac-card {
    flex: 0 0 calc((100% - (16px * 2)) / 3);
  }
  .fac-card.pos-3,
  .fac-card.pos-4 {
    display: none;
  }
}

/* Responsive: Mobile (<768px) */
@media (max-width: 767px) {
  .fac-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
  }

  .fac-sidebar-switcher {
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .fac-sidebar-switcher::-webkit-scrollbar {
    display: none;
  }

  .fac-cat-item {
    min-width: 140px;
    scroll-snap-align: start;
  }

  .fac-carousel-stage {
    min-height: 420px;
  }

  /* Mobile: Single card swipe (85% width, next card peeking at edge) */
  .fac-card {
    flex: 0 0 85%;
  }

  .fac-card.pos-0 { transform: scale(1); opacity: 1; }
  .fac-card.pos-1 { transform: scale(0.96); opacity: 0.6; }
  .fac-card.pos-2,
  .fac-card.pos-3,
  .fac-card.pos-4 {
    display: none;
  }
}

/* ==========================================================================
   PREMIUM EXECUTIVE NAVIGATION & HEADER SUITE
   ========================================================================== */

/* --- 1. Announcement Banner --- */
.aimer-top-banner {
  background: linear-gradient(90deg, #05161c 0%, #0a333d 50%, #05161c 100%) !important;
  border-bottom: 1px solid rgba(20, 184, 166, 0.25) !important;
  color: #e2e8f0;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  position: relative;
  z-index: 1000;
}

.aimer-top-banner .banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(20, 184, 166, 0.16);
  border: 1px solid rgba(20, 184, 166, 0.35);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #5eead4;
  text-transform: uppercase;
}

.banner-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #14b8a6;
  box-shadow: 0 0 8px #14b8a6;
  animation: bannerPulseAnim 2s infinite ease-in-out;
}

@keyframes bannerPulseAnim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.banner-text {
  color: #cbd5e1;
  font-size: 0.82rem;
}

.banner-text strong {
  color: #ffffff;
  font-weight: 700;
}

.banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.95);
  color: #07252c !important;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.banner-cta:hover {
  background: #ffffff;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.banner-cta svg {
  transition: transform 0.2s ease;
}

.banner-cta:hover svg {
  transform: translateX(3px);
}

/* --- 2. Top Executive Utility Strip --- */
.strip {
  background: rgba(5, 8, 12, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  color: #94a3b8;
  padding: 0;
}

.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  gap: 16px;
}

.strip-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  color: #94a3b8;
}

.strip-loc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #cbd5e1;
}

.strip-loc svg {
  color: #14b8a6;
}

.strip-sep {
  opacity: 0.35;
}

.strip-hubs strong {
  color: #e2e8f0;
  font-weight: 600;
}

.strip-right {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.strip-right a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.strip-right a:hover {
  color: #ffffff;
}

.strip-brochure svg {
  color: #14b8a6;
}

.strip-hotline {
  color: #5eead4 !important;
  font-weight: 600;
  background: rgba(20, 184, 166, 0.08);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(20, 184, 166, 0.2);
}

.strip-hotline:hover {
  background: rgba(20, 184, 166, 0.16);
  color: #ffffff !important;
}

.status-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
}

@media (max-width: 900px) {
  .strip-left {
    display: none;
  }
  .strip-inner {
    justify-content: flex-end;
  }
}

@media (max-width: 600px) {
  .strip {
    display: none;
  }
}

/* --- 3. Header Container Glassmorphism --- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(11, 31, 42, 0.88) !important;
  backdrop-filter: blur(20px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(190%) !important;
  border-bottom: 1px solid var(--border-subtle, rgba(206, 243, 228, 0.14)) !important;
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hdr.scrolled {
  background: rgba(7, 21, 29, 0.96) !important;
  border-bottom-color: rgba(0, 139, 165, 0.35) !important;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(0, 139, 165, 0.15) !important;
}

.hdr-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 76px !important;
  gap: 16px !important;
  position: relative !important;
  width: 100% !important;
}

/* --- 4. Brand Logo & Autonomous Badge (Pinned Left) --- */
.logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
}

.logo-mark {
  width: 36px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: transform 0.25s ease !important;
}

.logo:hover .logo-mark {
  transform: scale(1.05) !important;
}

.logo-mark svg {
  width: 100% !important;
  height: 100% !important;
  filter: drop-shadow(0 2px 8px rgba(0, 139, 165, 0.4)) !important;
}

.logo-text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.logo-name {
  font-family: var(--font-display, inherit) !important;
  font-weight: 850 !important;
  font-size: 1.45rem !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  color: #ffffff !important;
}

.logo-tag {
  font-size: 0.65rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #5eead4 !important;
  font-weight: 700 !important;
  margin-top: 3px !important;
  line-height: 1 !important;
}

.logo-pill-tag {
  display: none !important;
}

/* --- 5. Navigation Bar & Items (One Single Horizontal Line, Perfectly Centered) --- */
@media (min-width: 1181px) {
  .nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: clamp(4px, 0.55vw, 8px) !important;
    margin-left: auto !important;
    margin-right: 18px !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    padding: 0 !important;
  }
}

/* All navigation interactive elements share uniform geometry */
.nav > a,
.nav > .dd > .dd-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 38px !important;
  line-height: 38px !important;
  padding: 0 clamp(8px, 0.75vw, 13px) !important;
  border-radius: 999px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: none !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border: 1px solid transparent !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  min-height: 38px !important;
  max-height: 38px !important;
}

.nav > a:hover,
.nav > .dd > .dd-btn:hover,
.nav > .dd.open > .dd-btn {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.nav a:focus-visible,
.dd-btn:focus-visible,
.hdr-cta-apply:focus-visible {
  outline: 2px solid var(--teal-bright, #14B8A6) !important;
  outline-offset: 3px !important;
}

/* For Parents Luxury Badge - Perfectly matching 38px height and vertical alignment */
.nav > a.nav-parents-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  background: rgba(20, 184, 166, 0.1) !important;
  border: 1px solid rgba(20, 184, 166, 0.32) !important;
  color: #5eead4 !important;
  font-weight: 700 !important;
}

.nav > a.nav-parents-badge:hover {
  background: rgba(20, 184, 166, 0.22) !important;
  border-color: #5eead4 !important;
  color: #ffffff !important;
  box-shadow: 0 0 14px rgba(20, 184, 166, 0.3) !important;
}

.nav > a.nav-parents-badge .parents-sparkle {
  color: #fbbf24 !important;
  font-size: 0.72rem !important;
  line-height: 1 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

/* --- 6. Programmes Dropdown Trigger & Mega Menu --- */
.nav > .dd {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav > .dd > .dd-btn {
  background: none !important;
  cursor: pointer !important;
}

.nav > .dd > .dd-btn .dd-caret {
  display: inline-block !important;
  width: 12px !important;
  height: 12px !important;
  margin-left: 5px !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
  color: #14b8a6 !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav > .dd.open > .dd-btn .dd-caret {
  transform: rotate(180deg) !important;
}

.dd.open .dd-caret {
  transform: rotate(180deg);
}

/* Mega Dropdown Panel */
.dd-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(860px, 94vw);
  background: rgba(8, 14, 21, 0.97) !important;
  backdrop-filter: blur(28px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.8),
              0 0 0 1px rgba(13, 148, 136, 0.2) !important;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.25s !important;
  display: flex !important;
  flex-direction: column;
  gap: 18px;
  z-index: 1000;
}

.dd.open .dd-panel {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Mega Menu Header */
.dd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dd-header-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dd-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #14b8a6;
}

.dd-caption {
  font-size: 0.8rem;
  color: #94a3b8;
}

.dd-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #34d399;
}

/* Mega Menu Cards Grid */
.dd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.dd-card {
  display: flex !important;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 14px !important;
  padding: 18px !important;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
}

.dd-card:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(20, 184, 166, 0.4) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.5), 0 0 20px -5px rgba(20, 184, 166, 0.25);
}

.dd-card-featured {
  background: linear-gradient(145deg, rgba(20, 184, 166, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%) !important;
  border-color: rgba(20, 184, 166, 0.25) !important;
}

.dd-card-chip {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.chip-gold {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.chip-teal {
  background: rgba(20, 184, 166, 0.16);
  color: #5eead4;
  border: 1px solid rgba(20, 184, 166, 0.35);
}

.chip-emerald {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.dd-card-title {
  margin-bottom: 8px;
}

.dd-card-title b {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.dd-card-subtitle {
  display: block;
  font-size: 0.78rem;
  color: #5eead4;
  font-weight: 600;
  margin-top: 2px;
}

.dd-card-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0 0 14px 0;
  flex-grow: 1;
}

.dd-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  color: #cbd5e1;
  font-weight: 600;
}

.dd-card-arrow {
  color: #14b8a6;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.dd-card:hover .dd-card-arrow {
  transform: translateX(4px);
}

/* Mega Menu Footer */
.dd-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: #94a3b8;
}

.dd-panel .dd-footer a {
  display: inline-flex !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  border: none !important;
  background: transparent !important;
}

.dd-footer-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dd-footer-help {
  color: #5eead4;
  text-decoration: none;
  font-weight: 600;
}

.dd-footer-help:hover {
  text-decoration: underline;
}

.dd-footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dd-footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.dd-footer-links a:hover {
  color: #ffffff;
}

.dd-footer-sep {
  opacity: 0.3;
}

/* --- 7. Primary CTA Button: Apply via NAAT (Aligned Right) --- */
.hdr-cta-apply,
.btn-pill-apply.hdr-cta-apply {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #008BA5 0%, #0D9488 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.84rem !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  line-height: 1 !important;
  padding: 0 20px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(13, 148, 136, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.2s ease !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  align-self: center !important;
}

.hdr-cta-apply:hover,
.btn-pill-apply.hdr-cta-apply:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 26px rgba(13, 148, 136, 0.6) !important;
  background: linear-gradient(135deg, #009dbb 0%, #0fa89b 100%) !important;
}

.hdr-cta-apply .btn-text {
  line-height: 1 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.hdr-cta-apply .btn-arrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hdr-cta-apply:hover .btn-arrow {
  transform: translateX(4px) !important;
}

/* Standalone Hero Apply & Brochure buttons */
.hero-cta-pills .btn-pill-apply {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #008BA5 0%, #0D9488 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  height: 46px !important;
  padding: 0 24px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(13, 148, 136, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

/* --- Hero Video Preview (Play Button Removed, Clean Audio Control) --- */
.vbox-play-circle {
  display: none !important;
}

.hero-video-box {
  cursor: pointer;
}

.vbox-audio-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(7, 11, 16, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.vbox-audio-toggle:hover {
  background: rgba(13, 148, 136, 0.88);
  border-color: #5EEAD4;
  transform: scale(1.05);
}

.vbox-audio-toggle svg {
  display: inline-block;
  vertical-align: middle;
}

.vbox-sound-label {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

/* --- 8. Responsive & Mobile Drawer Upgrades --- */
.menu-btn {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(20, 184, 166, 0.4);
}

.menu-btn-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.menu-btn-icon span {
  display: block;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 1180px) {
  .menu-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #F1F5F9 !important;
    border: 1px solid rgba(0, 0, 0, 0.22) !important;
    color: #0F172A !important;
    border-radius: 999px !important;
    padding: 7px 16px !important;
    cursor: pointer !important;
    margin-left: auto !important;
    height: 38px !important;
    box-sizing: border-box !important;
  }
  .menu-btn .menu-btn-icon span {
    background: #0F172A !important;
  }
  .menu-btn .menu-btn-text {
    color: #0F172A !important;
    font-weight: 700 !important;
  }
  
  .hdr .wrap {
    height: 60px !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .hdr-cta-apply,
  .btn-pill-apply.hdr-cta-apply,
  body .hdr .hdr-cta-apply,
  body[data-route="home"] .hdr .hdr-cta-apply {
    display: none !important;
  }

  .nav {
    display: none !important;
  }

  /* When menu is open */
  body.menu-open {
    overflow: hidden !important;
    touch-action: none !important;
  }

  body.menu-open .hdr {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 60px !important;
    background: #07090C !important;
    z-index: 1000000 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom: 1px solid var(--rule) !important;
    transform: none !important;
    filter: none !important;
  }

  body.menu-open .hdr .wrap {
    height: 60px !important;
    transform: none !important;
    filter: none !important;
  }

  body[data-route="home"].menu-open .hdr {
    background: #07090C !important;
  }

  body.menu-open .hdr .menu-btn,
  body.menu-open .hdr .menu-btn .menu-btn-text,
  body[data-route="home"].menu-open .hdr .menu-btn,
  body[data-route="home"].menu-open .hdr .menu-btn .menu-btn-text {
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    background: rgba(255, 255, 255, 0.14) !important;
  }

  body.menu-open .hdr .menu-btn-icon span,
  body[data-route="home"].menu-open .hdr .menu-btn-icon span {
    background: #FFFFFF !important;
  }

  /* Hide top banners when mobile menu is open to lock header cleanly at top: 0 */
  body.menu-open .aimer-top-banner,
  body.menu-open .strip {
    display: none !important;
  }

  body.menu-open .hdr .aimer-header-logo-img {
    filter: brightness(0) invert(1) !important;
  }

  /* Full screen Mobile Menu Drawer */
  body.menu-open .nav,
  .nav.open {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 60px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: calc(100vh - 60px) !important;
    height: calc(100dvh - 60px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 16px 16px 90px !important;
    background: #07090C !important;
    box-sizing: border-box !important;
    gap: 10px !important;
    margin: 0 !important;
    border: none !important;
    z-index: 999998 !important;
  }

  .nav a,
  .nav .dd-btn,
  .nav > .dd > .dd-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 13px 16px !important;
    font-size: 0.96rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    border: 1px solid var(--rule) !important;
    background: var(--panel) !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    min-height: 48px !important;
    height: auto !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  body[data-route="home"].menu-open .hdr .nav > a,
  body[data-route="home"].menu-open .hdr .dd-btn,
  body[data-route="home"].menu-open .hdr .nav > .dd > .dd-btn {
    color: #FFFFFF !important;
    background: #0D1419 !important;
    border-color: #1D2A33 !important;
  }

  .nav a:hover,
  .nav .dd-btn:hover,
  .nav > .dd > .dd-btn:hover {
    border-color: var(--teal-hi) !important;
    background: var(--panel-2) !important;
    color: var(--teal-hi) !important;
  }

  .nav > .dd {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    margin: 0 !important;
  }

  .dd-mesa-panel {
    display: none !important;
    position: static !important;
    width: 100% !important;
    margin-top: 8px !important;
    padding: 12px !important;
    background: var(--panel-2) !important;
    border: 1px solid var(--rule) !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .dd.open .dd-mesa-panel {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .dd-mesa-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .dd-mesa-card {
    padding: 14px 16px !important;
    background: var(--panel) !important;
    border: 1px solid var(--rule) !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }

  .dd-mesa-card-header {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .dd-mesa-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #2DD4BF !important;
  }

  .dd-mesa-title {
    color: #FFFFFF !important;
    font-weight: 700 !important;
    font-size: 0.94rem !important;
  }

  .dd-mesa-desc {
    color: var(--muted) !important;
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
    margin: 0 !important;
  }
}

@media (max-width: 640px) {
  /* Hide top utility strip to free vertical screen space */
  .strip {
    display: none !important;
  }

  /* Mobile Header & Brand Logo: remove pill tag and compact header to prevent horizontal overflow */
  .logo-pill-tag,
  body .hdr .logo-pill-tag,
  body[data-route="home"] .hdr .logo-pill-tag {
    display: none !important;
  }
  .aimer-header-logo-img {
    height: 34px !important;
    max-width: 140px !important;
  }
  .hdr .wrap {
    height: 56px !important;
    padding: 0 14px !important;
    gap: 8px !important;
  }
  .menu-btn {
    height: 36px !important;
    padding: 6px 14px !important;
    font-size: 0.85rem !important;
  }
  
  .aimer-top-banner {
    padding: 8px 12px !important;
    box-sizing: border-box !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }
  
  .banner-inner {
    flex-direction: column !important;
    gap: 4px !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
  
  .banner-text {
    font-size: 0.74rem !important;
    line-height: 1.35 !important;
    display: block !important;
    text-align: center !important;
  }
  
  .banner-cta {
    padding: 4px 14px !important;
    font-size: 0.72rem !important;
    margin-top: 2px !important;
  }

  /* Hero Section Mobile Perfection */
  .home-hero-template {
    padding: 24px 0 36px !important;
    overflow-x: hidden !important;
  }
  
  .hero-template-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .hero-eyebrow-row {
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
  }

  .hero-eyebrow-bar {
    display: none !important;
  }

  .hero-eyebrow-text {
    font-size: 0.72rem !important;
    letter-spacing: 0.08em !important;
  }

  .hero-template-headline {
    font-size: clamp(1.95rem, 8vw, 2.5rem) !important;
    line-height: 1.08 !important;
    margin-bottom: 14px !important;
    word-break: break-word !important;
  }
  
  .hero-template-headline .hl-line-sub {
    font-size: clamp(1.15rem, 4.8vw, 1.42rem) !important;
    margin-top: 4px !important;
  }
  
  .hero-template-lead {
    font-size: 0.94rem !important;
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
    color: #CBD5E1 !important;
  }

  .hero-template-pillars {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
  }

  .template-pillar-item {
    font-size: 0.8rem !important;
    padding: 6px 12px !important;
  }

  .hero-template-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 20px !important;
  }

  .tstat-val {
    font-size: 1.4rem !important;
  }

  .tstat-lbl {
    font-size: 0.72rem !important;
  }

  .tstat-divider {
    display: none !important;
  }

  .hero-template-ctas {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 0 !important;
  }

  .btn-template-primary,
  .btn-template-secondary,
  .hero-template-ctas a,
  .hero-template-ctas button {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    padding: 13px 20px !important;
  }

  /* Showcase Video Card */
  .hero-template-right {
    width: 100% !important;
    margin-top: 10px !important;
  }

  .hero-showcase-card {
    border-radius: 18px !important;
    overflow: hidden !important;
    aspect-ratio: 16 / 9 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}



/* ==========================================================================
   HOMEPAGE HERO SECTION: EXACT TEMPLATE IMPLEMENTATION (EXECUTIVE TEAL)
   ========================================================================== */
/* Dark Executive Header (matching Mesa & AIMER design system) */
body[data-route="home"] .hdr {
  background: rgba(11, 31, 42, 0.88) !important;
  backdrop-filter: blur(20px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(190%) !important;
  border-bottom: 1px solid var(--border-subtle, rgba(206, 243, 228, 0.14)) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5) !important;
}
body[data-route="home"] .hdr.scrolled {
  background: rgba(7, 21, 29, 0.96) !important;
  border-bottom-color: rgba(18, 180, 198, 0.25) !important;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.75) !important;
}
body[data-route="home"] .hdr .logo-name {
  color: #FFFFFF !important;
}
body[data-route="home"] .hdr .logo-tag {
  color: var(--text-secondary, #A8BBC5) !important;
}
body[data-route="home"] .hdr .nav > a,
body[data-route="home"] .hdr .dd-btn {
  color: var(--text-primary, #F6F6F6) !important;
  font-weight: 600 !important;
  text-transform: none !important;
}
body[data-route="home"] .hdr .nav > a:hover,
body[data-route="home"] .hdr .dd-btn:hover {
  color: var(--teal-hover, #12B4C6) !important;
  background: rgba(18, 180, 198, 0.1) !important;
}
body[data-route="home"] .hdr .logo-pill-tag {
  background: rgba(18, 180, 198, 0.12) !important;
  color: var(--teal-hover, #12B4C6) !important;
  border: 1px solid rgba(18, 180, 198, 0.25) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}
body[data-route="home"] .hdr .hdr-cta-apply {
  background: var(--aimer-primary, #008BA5) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(0, 139, 165, 0.35) !important;
}
body[data-route="home"] .hdr .hdr-cta-apply:hover {
  background: var(--teal-hover, #12B4C6) !important;
  box-shadow: 0 6px 22px rgba(18, 180, 198, 0.5) !important;
}
body[data-route="home"] .hdr .menu-btn {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}
body[data-route="home"] .hdr .menu-btn-icon span {
  background: #FFFFFF !important;
}

/* Hero Section Base */
.home-hero-template {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 75% 25%, #103848 0%, #0F2E3B 45%, #0B1F2A 100%);
  color: #FFFFFF;
  padding: 40px 0 48px;
  box-sizing: border-box;
}

.hero-template-bg-landscape {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('/assets/img/campus-hero.webp') right 20% / cover no-repeat;
  opacity: 0.24;
  filter: contrast(1.1) brightness(0.9);
  pointer-events: none;
}

.hero-template-bg-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #031518 0%, #031518 42%, rgba(3, 21, 24, 0.82) 70%, rgba(3, 21, 24, 0.45) 100%),
              linear-gradient(180deg, rgba(3, 21, 24, 0.4) 0%, transparent 20%, transparent 80%, #031518 100%);
  pointer-events: none;
}

.hero-template-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.hero-template-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

/* Left Column Content */
.hero-template-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

/* Ultra-Premium Eyebrow Badge */
.hero-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 0 14px rgba(45, 212, 191, 0.1);
  transition: all 0.25s ease;
}
.hero-eyebrow-badge:hover {
  background: rgba(20, 184, 166, 0.14);
  border-color: rgba(94, 234, 212, 0.5);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), 0 0 20px rgba(45, 212, 191, 0.2);
}
.eyebrow-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2DD4BF;
  box-shadow: 0 0 8px #2DD4BF;
  position: relative;
  flex-shrink: 0;
}
.eyebrow-pulse-dot::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.4);
  animation: eyebrowPulse 2.2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}
@keyframes eyebrowPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}
.hero-eyebrow-text {
  font-size: clamp(0.72rem, 0.82vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5EEAD4;
  line-height: 1;
}

.hero-template-headline {
  font-family: var(--font, 'Archivo', sans-serif);
  font-size: clamp(2.5rem, 4.1vw, 3.9rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin: 0 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-template-headline .hl-line-1 {
  display: block;
}
.hero-template-headline .hl-line-2 {
  display: block;
}
.hero-template-headline .doing-accent {
  font-family: 'Instrument Serif', 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #5EEAD4;
  text-shadow: 0 0 24px rgba(94, 234, 212, 0.55);
  display: inline-block;
  padding: 0 4px;
}
.hero-template-headline .hl-line-sub {
  display: block;
  font-size: clamp(1.35rem, 2.1vw, 2.05rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.hero-template-headline .hero-sub-accent {
  font-family: 'Instrument Serif', 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #5EEAD4;
  text-shadow: 0 0 20px rgba(94, 234, 212, 0.5);
}

.hero-template-lead {
  font-size: clamp(0.96rem, 1.1vw, 1.08rem);
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.88);
  max-width: 540px;
  margin: 0 0 22px 0;
}

/* 3 Core Feature Pillars */
.hero-template-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.4vw, 16px);
  margin-bottom: 24px;
}
.template-pillar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #F1F5F9;
  background: rgba(13, 20, 25, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 16px;
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.template-pillar-item:hover {
  background: rgba(20, 184, 166, 0.15);
  border-color: rgba(45, 212, 191, 0.4);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), 0 0 15px rgba(45, 212, 191, 0.2);
}
.pillar-svg {
  flex-shrink: 0;
  color: #2DD4BF;
  transition: transform 0.25s ease;
}
.template-pillar-item:hover .pillar-svg {
  transform: scale(1.1);
}

/* 4 Impact Stats (Executive Card) */
.hero-template-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 580px;
  margin-bottom: 26px;
  padding: 16px 22px;
  background: rgba(13, 20, 25, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.hero-template-stats:hover {
  border-color: rgba(45, 212, 191, 0.3);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(20, 184, 166, 0.15);
}
.tstat-box {
  display: flex;
  flex-direction: column;
}
.tstat-val {
  font-size: clamp(1.28rem, 1.7vw, 1.6rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.tstat-lbl {
  font-size: 0.72rem;
  color: #94A3B8;
  line-height: 1.35;
  margin-top: 4px;
  font-weight: 500;
}
.tstat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
}

/* CTAs */
.hero-template-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.btn-template-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
  color: #07090C !important;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}
.btn-template-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(20, 184, 166, 0.55);
  background: linear-gradient(135deg, #2DD4BF 0%, #14B8A6 100%);
  color: #07090C !important;
}
.btn-template-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #F8FAFC !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.btn-template-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.btn-template-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #F8FAFC !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-template-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}
.btn-template-apply-link {
  color: #5EEAD4 !important;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 8px 12px;
  transition: color 0.2s;
  cursor: pointer;
}
.btn-template-apply-link:hover {
  color: #FFFFFF !important;
  text-decoration: underline;
}

/* Right Column Showcase Card */
.hero-template-right {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  width: 100%;
}
.hero-showcase-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(20, 184, 166, 0.18);
  cursor: pointer;
  background: #031518;
  transform: translateZ(0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.hero-showcase-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(94, 234, 212, 0.7);
  box-shadow: 0 32px 75px rgba(0, 0, 0, 0.75), 0 0 50px rgba(20, 184, 166, 0.35);
}
.showcase-card-video,
.showcase-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  display: block;
  background: #031518;
  transition: transform 0.4s ease;
}
.hero-showcase-card:hover .showcase-card-video,
.hero-showcase-card:hover .showcase-card-img {
  transform: scale(1.025);
}
.showcase-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 21, 24, 0.25) 0%, transparent 40%, transparent 60%, rgba(3, 21, 24, 0.65) 100%);
  pointer-events: none;
}

/* Floating top-right badge */
.showcase-card-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(4, 24, 28, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 6px 14px;
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  z-index: 3;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.showcase-card-badge svg {
  color: #2DD4BF;
}
.badge-time {
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Center White Play Button */
.showcase-center-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.play-btn-circle {
  width: 68px;
  height: 68px;
  background: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 255, 255, 0.35);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}
.showcase-center-play .play-btn-circle svg {
  margin-left: 3px;
  transition: transform 0.2s ease;
}
.hero-showcase-card:hover .play-btn-circle {
  transform: scale(1.12);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(94, 234, 212, 0.6);
}
.hero-showcase-card:hover .play-btn-circle svg {
  transform: scale(1.08);
}
.play-pulse-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  animation: playPulse 2.4s ease-out infinite;
  pointer-events: none;
}

/* Bottom subtle caption */
.showcase-card-caption {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  font-weight: 500;
  z-index: 3;
  opacity: 0.85;
  transition: opacity 0.2s;
  pointer-events: none;
}
.hero-showcase-card:hover .showcase-card-caption {
  opacity: 1;
  color: #5EEAD4;
}

/* Bottom Ecosystem & Trust Bar */
.hero-trust-ecosystem-card {
  width: 100%;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}
.trust-card-title {
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  font-weight: 700;
  color: #0F172A;
  max-width: 320px;
  line-height: 1.35;
}
.trust-card-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(16px, 2.8vw, 36px);
}
.trust-partner-item {
  display: flex;
  align-items: center;
  opacity: 0.92;
  transition: opacity 0.2s, transform 0.2s;
}
.trust-partner-item:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.trust-svg-icon {
  height: 24px;
  width: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-template-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-template-left {
    max-width: 100%;
  }
  .hero-template-stats {
    max-width: 100%;
  }
  .hero-trust-ecosystem-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 640px) {
  .hero-template-headline {
    font-size: clamp(2.2rem, 7.5vw, 2.8rem);
  }
  .hero-template-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-card-logos {
    gap: 16px;
  }
}

/* Vertical Responsive Optimization: Ensures Desktop CTAs remain comfortably above fold on 1280x720 / 1366x768 */
@media (min-width: 1025px) and (max-height: 800px) {
  .home-hero-template {
    padding: clamp(14px, 2.2vh, 24px) 0 clamp(16px, 2.5vh, 26px) !important;
  }
  .hero-eyebrow-badge {
    margin-bottom: 10px !important;
    padding: 4px 12px !important;
  }
  .hero-template-headline {
    margin-bottom: 10px !important;
  }
  .hero-template-headline .hl-line-sub {
    margin-top: 2px !important;
  }
  .hero-template-lead {
    margin-bottom: 12px !important;
    line-height: 1.48 !important;
  }
  .hero-template-pillars {
    margin-bottom: 14px !important;
    gap: 8px !important;
  }
  .template-pillar-item {
    padding: 6px 14px !important;
    font-size: 0.82rem !important;
  }
  .hero-template-stats {
    margin-bottom: 16px !important;
    padding: 10px 18px !important;
  }
  .tstat-val {
    font-size: 1.35rem !important;
  }
  .hero-template-ctas {
    gap: 10px !important;
  }
  .btn-template-primary,
  .btn-template-secondary {
    padding: 11px 22px !important;
  }
  .hero-showcase-card {
    border-radius: 20px !important;
  }
}

/* Vertical Responsive Optimization: Ensures Mobile Headline, Supporting Content & Primary CTA are immediate on compact screens */
@media (max-width: 768px) and (max-height: 720px) {
  .home-hero-template {
    padding: 16px 0 24px !important;
  }
  .hero-eyebrow-badge {
    margin-bottom: 8px !important;
    padding: 4px 10px !important;
  }
  .hero-template-headline {
    margin-bottom: 8px !important;
  }
  .hero-template-lead {
    font-size: 0.88rem !important;
    line-height: 1.42 !important;
    margin-bottom: 10px !important;
  }
  .hero-template-pillars {
    margin-bottom: 12px !important;
    gap: 6px !important;
  }
  .template-pillar-item {
    padding: 5px 10px !important;
    font-size: 0.78rem !important;
  }
  .hero-template-stats {
    margin-bottom: 14px !important;
    padding: 10px 12px !important;
    gap: 8px !important;
  }
  .tstat-val {
    font-size: 1.25rem !important;
  }
  .hero-template-ctas {
    gap: 8px !important;
  }
  .btn-template-primary,
  .btn-template-secondary {
    padding: 11px 18px !important;
    font-size: 0.9rem !important;
  }
}


/* --- ROOT OVERFLOW CLIP PROTECTION --- */
html, body {
  overflow-x: clip !important;
  max-width: 100% !important;
}

section, main, header, footer {
  overflow-x: clip;
}

.recruiter-strip-sec {
  overflow-x: clip !important;
  overflow: hidden !important;
  contain: paint !important;
}

.home-hero-template {
  overflow-x: clip !important;
  overflow: hidden !important;
}

/* ==========================================================================
   OFFICIAL AIMER ORIGINAL BRAND LOGO & BADGES
   ========================================================================== */
.aimer-header-logo-img {
  height: 44px;
  width: auto;
  max-width: 175px;
  display: block;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.logo:hover .aimer-header-logo-img {
  transform: scale(1.03);
}

/* Eyebrow Brand Crest in Hero */
.hero-eyebrow-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 2px 6px rgba(45, 212, 191, 0.4));
}

/* Campus Film Card Brand Overlay Badge */
.showcase-card-brand-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 26, 30, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 10px;
  padding: 5px 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  transition: all 0.25s ease;
}
.showcase-card-brand-badge:hover {
  background: rgba(6, 26, 30, 0.96);
  border-color: #2DD4BF;
  box-shadow: 0 6px 20px rgba(0, 163, 166, 0.4);
}
.showcase-brand-logo-img {
  height: 26px;
  width: auto;
  max-width: 120px;
  display: block;
  object-fit: contain;
}
.showcase-brand-icon {
  display: block;
  flex-shrink: 0;
  color: #2DD4BF;
}
.showcase-card-brand-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-transform: uppercase;
}
.showcase-card-brand-tag {
  font-size: 0.65rem;
  color: #5EEAD4;
  font-weight: 600;
}

/* ==========================================================================
   MESA SCHOOL MODEL: PROGRAMMES MEGA MENU DROPDOWN
   ========================================================================== */
@media (min-width: 1024px) {
  .hdr {
    position: sticky !important;
  }
  .hdr .hdr-wrap,
  .hdr .nav,
  .hdr .nav > .dd {
    position: static !important;
  }
  .dd-mesa-panel {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(8px) !important;
    width: min(1240px, calc(100vw - 48px)) !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
  .dd.open .dd-mesa-panel {
    transform: translateX(-50%) translateY(0) !important;
  }
}

@media (max-width: 1023px) {
  .dd-mesa-panel {
    position: static !important;
    width: 100% !important;
    margin: 12px 0 0 0 !important;
    transform: none !important;
    padding: 16px !important;
  }
  .dd.open .dd-mesa-panel {
    transform: none !important;
  }
}

.dd-mesa-panel {
  background: #081E21 !important;
  background: linear-gradient(180deg, #071c1f 0%, #051619 100%) !important;
  border: 1px solid rgba(45, 212, 191, 0.22) !important;
  border-radius: 16px !important;
  padding: 24px 28px 28px !important;
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.85),
              0 0 0 1px rgba(255, 255, 255, 0.05),
              0 0 45px rgba(13, 148, 136, 0.2) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.22s !important;
  z-index: 1000 !important;
}

.dd.open .dd-mesa-panel {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

body[data-route="home"] .hdr .nav > .dd.open > .dd-btn,
body[data-route="home"] .hdr .nav > .dd > .dd-btn:hover {
  color: #0D9488 !important;
  background: rgba(13, 148, 136, 0.1) !important;
  border-color: rgba(13, 148, 136, 0.25) !important;
}
body[data-route="home"] .hdr .nav > .dd.open > .dd-btn span,
body[data-route="home"] .hdr .nav > .dd > .dd-btn:hover span {
  color: #0D9488 !important;
}

.dd-mesa-header {
  margin-bottom: 16px !important;
}

.dd-mesa-eyebrow {
  display: inline-block !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #5EEAD4 !important;
  opacity: 0.9 !important;
}

.dd-mesa-panel,
.dd-mesa-panel * {
  white-space: normal !important;
  box-sizing: border-box !important;
}

.dd-mesa-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

@media (max-width: 1023px) and (min-width: 641px) {
  .dd-mesa-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .dd-mesa-grid {
    grid-template-columns: 1fr !important;
  }
  .dd-mesa-panel {
    position: static !important;
    width: 100% !important;
    transform: none !important;
    padding: 16px !important;
  }
  .dd.open .dd-mesa-panel {
    transform: none !important;
  }
}

.dd-mesa-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  background: #0B2428 !important;
  background: rgba(11, 36, 40, 0.85) !important;
  border: 1px solid rgba(45, 212, 191, 0.15) !important;
  border-radius: 12px !important;
  padding: 18px 20px 20px !important;
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  min-height: 108px !important;
}

.dd-mesa-card:hover {
  background: rgba(13, 148, 136, 0.2) !important;
  border-color: #2DD4BF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.6),
              0 0 20px rgba(45, 212, 191, 0.25) !important;
}

.dd-mesa-card-header {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 8px !important;
}

.dd-mesa-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  width: 26px !important;
  height: 26px !important;
  color: #2DD4BF !important;
  transition: transform 0.2s ease !important;
}

.dd-mesa-card:hover .dd-mesa-icon {
  transform: scale(1.1) !important;
}

.dd-mesa-title {
  font-size: 0.94rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
  transition: color 0.2s ease !important;
}

.dd-mesa-card:hover .dd-mesa-title {
  color: #5EEAD4 !important;
}

.dd-card-hsbip:hover {
  background: rgba(16, 185, 129, 0.16) !important;
  border-color: #34D399 !important;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.6), 0 0 20px rgba(52, 211, 153, 0.25) !important;
}
.dd-card-hsbip:hover .dd-mesa-title {
  color: #6EE7B7 !important;
}

.dd-card-ugbip:hover {
  background: rgba(37, 99, 235, 0.16) !important;
  border-color: #60A5FA !important;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.6), 0 0 20px rgba(96, 165, 250, 0.25) !important;
}
.dd-card-ugbip:hover .dd-mesa-title {
  color: #93C5FD !important;
}

.dd-card-pgbip:hover {
  background: rgba(124, 58, 237, 0.16) !important;
  border-color: #A78BFA !important;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.6), 0 0 20px rgba(167, 139, 250, 0.25) !important;
}
.dd-card-pgbip:hover .dd-mesa-title {
  color: #C4B5FD !important;
}

.dd-mesa-desc {
  font-size: 0.8rem !important;
  line-height: 1.45 !important;
  color: #94A3B8 !important;
  margin: 0 !important;
  font-weight: 400 !important;
  transition: color 0.2s ease !important;
}

.dd-mesa-card:hover .dd-mesa-desc {
  color: #E2E8F0 !important;
}

/* ==========================================================================
   WHAT'S HAPPENING AT AIMER - CMS EVENTS MODULE DESIGN SYSTEM
   Strictly adheres to site.css tokens:
   --bg: #07090C, --panel: #0D1419, --panel-2: #13202A, --teal: #3A87A4,
   --teal-hi: #62B3CF, --ocean: #0B3242, --rule: #1D2A33, --text: #F2F5F6,
   --muted: #9AAAB2. 18-22px radius, pill buttons, 16:9 imagery.
   ========================================================================== */

.events-home-sec {
  padding: 60px 0;
  background: var(--bg);
  border-top: 1px solid var(--rule);
  position: relative;
  font-family: var(--font);
}

.events-sec-header {
  margin-bottom: 36px;
}

.events-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--teal-hi);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.events-eyebrow svg {
  color: var(--teal-hi);
}

.events-title {
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 14px;
  line-height: 1.15;
}

.events-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.6;
  margin: 0;
}

/* Category Filter Bar */
.events-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.events-filter-chip {
  background: var(--panel);
  border: 1px solid var(--rule);
  color: var(--muted);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.events-filter-chip:hover {
  border-color: var(--teal-hi);
  color: var(--text);
  background: var(--panel-2);
}

.events-filter-chip.active {
  background: var(--teal);
  color: #FFFFFF;
  border-color: var(--teal-hi);
  box-shadow: 0 4px 14px rgba(58, 135, 164, 0.35);
}

/* Layout Grid */
.events-grid-desktop {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
  align-items: stretch;
}

/* Featured Event Card */
.evt-featured-card {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  position: relative;
}

.evt-featured-card:hover {
  transform: translateY(-2px);
  border-color: var(--teal-hi);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
}

.evt-featured-media {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.evt-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.evt-featured-card:hover .evt-featured-img {
  transform: scale(1.02);
}

.evt-media-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.evt-badge-cat {
  background: rgba(13, 20, 25, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(98, 179, 207, 0.3);
  color: var(--teal-hi);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.evt-badge-featured {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #07090C;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.evt-countdown-ticker {
  background: rgba(7, 9, 12, 0.92);
  border: 1px solid var(--rule);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.evt-countdown-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: evtPulse 2s infinite;
}

.evt-countdown-pulse.live {
  background: #EF4444;
  box-shadow: 0 0 10px #EF4444;
}

@keyframes evtPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.evt-featured-body {
  padding: 26px 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.evt-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.evt-datetime-pill {
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--teal-hi);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.evt-gulf-time-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: #FBBF24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 2px 8px;
  border-radius: 6px;
}

.evt-featured-title {
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  font-weight: 850;
  line-height: 1.28;
  color: var(--text);
  margin: 0 0 12px;
}

.evt-featured-title a {
  color: inherit;
  text-decoration: none;
}

.evt-featured-title a:hover {
  color: var(--teal-hi);
}

.evt-featured-desc {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.evt-details-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: var(--muted);
}

.evt-venue-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.evt-status-badge {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.evt-status-badge.open {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.evt-status-badge.closing-soon {
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.evt-status-badge.waitlist {
  background: rgba(139, 92, 246, 0.15);
  color: #A78BFA;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.evt-status-badge.closed {
  background: rgba(239, 68, 68, 0.12);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.evt-seats-indicator {
  font-size: 0.78rem;
  font-weight: 750;
  color: #38BDF8;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.evt-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.evt-actions-left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.evt-btn-primary {
  background: var(--teal);
  color: #FFFFFF;
  border: 1px solid var(--teal-hi);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.evt-btn-primary:hover {
  background: var(--teal-hi);
  color: #07090C;
  transform: translateY(-1px);
}

.evt-btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--rule);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.evt-btn-secondary:hover {
  border-color: var(--teal-hi);
  color: var(--teal-hi);
}

.evt-cal-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.evt-cal-link:hover {
  color: var(--teal-hi);
  text-decoration: underline;
}

/* Upcoming Smaller Cards Column */
.events-upcoming-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.evt-compact-card {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 16px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.evt-compact-card:hover {
  transform: translateY(-2px);
  border-color: var(--teal-hi);
}

.evt-compact-media {
  aspect-ratio: 16 / 9;
  width: 160px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.evt-compact-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.evt-compact-card:hover .evt-compact-img {
  transform: scale(1.04);
}

.evt-compact-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.evt-compact-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.evt-compact-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
  margin: 0;
}

.evt-compact-title a {
  color: inherit;
  text-decoration: none;
}

.evt-compact-title a:hover {
  color: var(--teal-hi);
}

.evt-compact-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.evt-compact-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.evt-compact-loc {
  font-size: 0.78rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.evt-compact-cta {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--teal-hi);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.evt-compact-cta:hover {
  text-decoration: underline;
}

/* Fallback Card */
.events-fallback-card {
  background: var(--panel);
  border: 1px dashed var(--rule);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  grid-column: 1 / -1;
  display: none;
}

.events-fallback-card.visible {
  display: block;
}

.events-bottom-cta-wrap {
  text-align: center;
  margin-top: 44px;
}

.events-view-all-btn {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--rule);
  padding: 12px 32px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.events-view-all-btn:hover {
  border-color: var(--teal-hi);
  background: var(--panel-2);
  color: var(--teal-hi);
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .events-grid-desktop {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .events-upcoming-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .evt-compact-card {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .evt-compact-media {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 680px) {
  .events-upcoming-list {
    display: flex;
    flex-direction: row;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
  }
  .evt-compact-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
    min-width: 270px;
  }
}
