:root{
  --max-w:1200px;
  --pad-x:32px;

  /* Enhanced Theme - UZH Colors */
  --fg:#000000 !important;
  --fg-light:#000000 !important;
  --muted:#2a2a2a !important;
  --accent:#0028A5 !important;
  --accent-light:#3062FF !important;
  --border:#e8e8e8 !important;
  --card-br:20px !important;

  /* Enhanced Elevation with blue-tinted shadows */
  --shadow-1: 0 1px 3px rgba(0,0,0,0.12), 0 8px 24px rgba(0,40,165,0.08) !important;
  --shadow-2: 0 4px 12px rgba(0,0,0,0.15), 0 20px 60px rgba(0,40,165,0.12) !important;
  --shadow-premium: 
    0 2px 4px rgba(0,0,0,0.1), 
    0 8px 16px rgba(0,40,165,0.08),
    0 20px 40px rgba(0,40,165,0.04) !important;
  --shadow-intense: 
    0 6px 12px rgba(0,0,0,0.15), 
    0 20px 40px rgba(0,40,165,0.15),
    0 40px 80px rgba(0,40,165,0.08) !important;

  /* Fluid Type Scale - Responsive at all screen sizes - INCREASED SIZES */
  --step--1: clamp(1rem, 0.3vw + 0.95rem, 1.35rem) !important;
  --step-0:  clamp(1.1rem, 0.4vw + 1rem, 1.5rem) !important;
  --step-1:  clamp(1.35rem, 0.8vw + 1.15rem, 1.85rem) !important;
  --step-2:  clamp(1.55rem, 1.4vw + 1.25rem, 2.4rem) !important;
  --step-3:  clamp(1.95rem, 3vw + 1.35rem, 3.4rem) !important;
  --step-4:  clamp(2.6rem, 6vw + 1.7rem, 6rem) !important;
  --step-5:  clamp(3.2rem, 7.5vw + 2.2rem, 7.5rem) !important;

  /* Fluid Spacing */
  --pad-x: clamp(16px, 3vw, 32px) !important;

  /* Motion */
  --dur: 350ms !important;
  --dur-slow: 600ms !important;
  --bez: cubic-bezier(.25,.46,.45,.94) !important;
  
  /* Enhanced easing curves */
  --spring: cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
  --smooth: cubic-bezier(0.4, 0.0, 0.2, 1) !important;
  --bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  --professional: cubic-bezier(0.25, 0.1, 0.25, 1) !important;
  --momentum: cubic-bezier(0.23, 1, 0.32, 1) !important;
}
  
  /* Professional spacing rhythm */
  --spacing-xs: clamp(0.25rem, 0.5vw, 0.5rem) !important;
  --spacing-sm: clamp(0.5rem, 1vw, 1rem) !important;
  --spacing-md: clamp(1rem, 2vw, 1.5rem) !important;
  --spacing-lg: clamp(1.5rem, 3vw, 2.5rem) !important;
  --spacing-xl: clamp(2.5rem, 5vw, 4rem) !important;
}

* { 
  box-sizing: border-box !important; 
}

/* DEFAULT: Preserve scroll snap for landing pages */
html {
  min-height: 100vh !important;
  scroll-behavior: smooth !important;
  scroll-snap-type: y mandatory !important;
  scroll-padding-top: 0 !important;
}

html, body {
  scroll-behavior: smooth !important;
  overflow-x: hidden !important;
}

body {
  scroll-snap-type: y mandatory !important;
}

body {
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  top: 0 !important;
}

/* CONDITIONAL: Disable scroll snap for content-heavy pages */
/* This targets pages with many people-grid sections */
.market-design-container:has(.people-grid) html,
.market-design-container:has(.people-grid) body {
  scroll-snap-type: none !important;
}

/* Background - Clean off-white with subtle blue wash */
body {
  margin: 0 !important;
  padding: 0 !important;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
  color: var(--fg) !important;
  line-height: 1.65 !important;
  -webkit-font-smoothing: antialiased !important;
  text-rendering: optimizeLegibility !important;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 50%, #f8f9ff 100%) !important;
  background-attachment: fixed !important;
  overflow-x: hidden !important;
  position: relative !important;
  min-height: 100% !important;
}

.market-design-container {
  width: 100% !important;
  min-height: 100vh !important;
  position: relative !important;
  background: transparent !important;
}

.wrap {
  max-width: var(--max-w) !important; 
  margin: 0 auto !important; 
  padding: 0 var(--pad-x) !important;
  position: relative !important;
}

/* HERO SECTION - Fluid responsive positioning for ALL pages */
.hero-section {
  min-height: 100vh !important;
  height: 100vh !important;
  padding: 0 !important;
  margin: 0 !important;
  position: relative !important;
  top: 0 !important;
  background: transparent !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  scroll-snap-align: start !important;
}

/* Hero wrap - FLUID positioning that works at all screen sizes */
.hero-section .wrap {
  margin: 0 auto !important;
  text-align: center !important;
  width: 100% !important;
  max-width: var(--max-w) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  /* Fluid upward positioning - scales from -400px to -50px */
  transform: translateY(clamp(-25vh, -20vw, -3rem)) !important;
  padding: var(--pad-x) !important;
}

/* CONDITIONAL: Disable scroll snap for people page sections */
.market-design-container:has(.people-grid) .content-section {
  scroll-snap-align: none !important;
}

/* Hero text - FLUID typography with enhanced effects */
.hero-title {
  font-size: var(--step-4) !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  margin: 0 auto 1rem auto !important;
  line-height: 0.95 !important;
  color: var(--fg) !important;
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  text-align: center !important;
  width: 100% !important;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.02) !important;
  /* Ultra-aggressive no hyphenation for titles */
  hyphens: none !important;
  -webkit-hyphens: none !important;
  -moz-hyphens: none !important;
  -ms-hyphens: none !important;
  -webkit-hyphenate-limit-before: 999 !important;
  -webkit-hyphenate-limit-after: 999 !important;
  -webkit-hyphenate-limit-chars: 999 999 999 !important;
}

@media (max-width: 768px) {
  .hero-title {
    white-space: normal !important;
    word-spacing: 0.1em !important;
    letter-spacing: -0.02em !important;
  }
}

.hero-subtitle {
  font-size: var(--step-2) !important;
  font-weight: 800 !important;
  margin: 0 auto clamp(2rem, 4vw, 3rem) auto !important;
  letter-spacing: .01em !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-light)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  text-align: center !important;
  width: 100% !important;
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  text-shadow: 0 2px 8px rgba(0,40,165,0.15) !important;
  /* Ultra-aggressive no hyphenation for subtitles */
  hyphens: none !important;
  -webkit-hyphens: none !important;
  -moz-hyphens: none !important;
  -ms-hyphens: none !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  white-space: nowrap !important;
  -webkit-hyphenate-limit-before: 999 !important;
  -webkit-hyphenate-limit-after: 999 !important;
  -webkit-hyphenate-limit-chars: 999 999 999 !important;
}

@media (max-width: 768px) {
  .hero-subtitle {
    white-space: normal !important;
    word-spacing: 0.1em !important;
  }
}

/* Professional UI/UX Enhancements - Subtle texture and depth */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(0,40,165,0.01) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(48,98,255,0.01) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
  opacity: 0.8;
}

/* Professional focus states for accessibility */
*:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px !important;
  border-radius: 4px !important;
  transition: outline-offset 0.2s var(--professional) !important;
}

.team-link:focus-visible {
  outline-color: rgba(255,255,255,0.8) !important;
  outline-offset: 3px !important;
  box-shadow: 
    var(--shadow-intense),
    0 0 0 3px rgba(255,255,255,0.3) !important;
}

/* Enhanced typography with OpenType features */
body, .hero-title, .hero-subtitle, .section-title, .research-title {
  font-feature-settings: 
    "kern" 1, 
    "liga" 1, 
    "calt" 1, 
    "onum" 0, 
    "pnum" 1 !important;
  font-variant-numeric: proportional-nums !important;
}

/* SOPHISTICATED VISUAL ENHANCEMENTS - CSS ONLY */

/* Hero text breathing animation - ultra subtle */
.hero-title {
  animation: heroBreath 8s ease-in-out infinite !important;
  transform-origin: center !important;
}

@keyframes heroBreath {
  0%, 100% { 
    transform: translateY(clamp(-25vh, -20vw, -3rem)) scale(1) !important;
  }
  50% { 
    transform: translateY(clamp(-25vh, -20vw, -3rem)) scale(1.002) !important;
  }
}

/* Subtle element breathing for secondary content */
.section-title {
  animation: subtleBreath 12s ease-in-out infinite !important;
  animation-delay: 2s !important;
}

@keyframes subtleBreath {
  0%, 100% { 
    transform: scale(1) !important;
  }
  50% { 
    transform: scale(1.001) !important;
  }
}

/* Advanced shadow system with enhanced depth */
.team-link,
.research-image,
.news-card,
.partner-card,
.course-card {
  box-shadow: 
    0 0 20px rgba(0,40,165,0.02),
    0 2px 8px rgba(0,0,0,0.08),
    0 0 40px rgba(0,40,165,0.04) !important;
  transition: box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.team-link:hover,
.research-image:hover,
.news-card:hover,
.partner-card:hover,
.course-card:hover {
  box-shadow: 
    0 0 30px rgba(0,40,165,0.04),
    0 8px 24px rgba(0,0,0,0.12),
    0 0 60px rgba(0,40,165,0.08) !important;
}

/* Sophisticated card hover effects */
.news-card,
.partner-card,
.course-card {
  transform-style: preserve-3d !important;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
  will-change: transform !important;
}

.news-card:hover,
.partner-card:hover,
.course-card:hover {
  transform: translateY(-6px) perspective(1000px) rotateX(1deg) !important;
}

/* Dynamic lighting effect on hover - pure CSS */
.team-link::after,
.research-image::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255,255,255,0.03) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.team-link:hover::after,
.research-image:hover::after {
  opacity: 1;
}

/* Elastic micro-interactions */
.nav-arrow,
.progress-dot,
.keyword-filter button {
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
}

.nav-arrow:active,
.progress-dot:active,
.keyword-filter button:active {
  transform: scale(0.95) !important;
  transition: transform 0.1s ease !important;
}

.nav-arrow:hover,
.progress-dot:hover {
  transform: translateY(-1px) scale(1.02) !important;
}

/* Floating animation for key elements */
.research-image {
  animation: floatSubtle 6s ease-in-out infinite !important;
}

.team-link {
  animation: floatSubtle 8s ease-in-out infinite !important;
  animation-delay: 1s !important;
}

@keyframes floatSubtle {
  0%, 100% { 
    transform: translateY(0px);
  }
  50% { 
    transform: translateY(-2px);
  }
}

/* Smart hover states with delay */
.news-card,
.partner-card,
.course-card {
  transition: all 0.3s ease !important;
  transition-delay: 0.1s !important;
}

.news-card:hover,
.partner-card:hover,
.course-card:hover {
  transition-delay: 0s !important;
}

/* Subtle texture overlay */
.news-card::before,
.partner-card::before,
.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(0,40,165,0.005) 1px, transparent 0);
  background-size: 20px 20px;
  opacity: 0.5;
  pointer-events: none;
  mix-blend-mode: overlay;
  border-radius: inherit;
}

/* Enhanced focus rings with animation */
*:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px !important;
  border-radius: 4px !important;
  transition: all 0.2s var(--professional) !important;
  animation: focusGlow 0.6s ease-out !important;
}

@keyframes focusGlow {
  0% {
    outline-color: transparent;
    outline-offset: 0px;
  }
  50% {
    outline-offset: 4px;
  }
  100% {
    outline-offset: 2px;
  }
}

/* Organic breathing for navigation elements */
.progress-dot:not(.active) {
  animation: gentleBreath 4s ease-in-out infinite !important;
}

.nav-arrow {
  animation: subtleFloat 10s ease-in-out infinite !important;
}

@keyframes subtleFloat {
  0%, 100% { 
    transform: translateY(0px);
  }
  50% { 
    transform: translateY(-1px);
  }
}

/* Enhanced shimmer effects */
.nav-links-container.square-grid .team-link::before,
.nav-links-container.square-grid-6 .team-link::before,
.nav-links-container.square-grid-2 .team-link::before,
.nav-links-container.square-grid-8 .team-link::before {
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255,255,255,0.1) 30%,
    rgba(255,255,255,0.3) 50%, 
    rgba(255,255,255,0.1) 70%,
    transparent 100%) !important;
  animation: shimmer 3s ease-in-out infinite !important;
  animation-delay: var(--shimmer-delay, 0s) !important;
}

@keyframes shimmer {
  0% { left: -100%; }
  50% { left: -100%; }
  100% { left: 100%; }
}

/* Staggered shimmer delays */
.nav-links-container.square-grid .team-link:nth-child(1)::before { --shimmer-delay: 0s; }
.nav-links-container.square-grid .team-link:nth-child(2)::before { --shimmer-delay: 0.5s; }
.nav-links-container.square-grid .team-link:nth-child(3)::before { --shimmer-delay: 1s; }
.nav-links-container.square-grid .team-link:nth-child(4)::before { --shimmer-delay: 1.5s; }

/* Pulsing glow effect for active states */
.progress-dot.active {
  animation: activeGlow 2s ease-in-out infinite !important;
}

@keyframes activeGlow {
  0%, 100% { 
    box-shadow: 0 0 10px rgba(0,40,165,0.4) !important;
  }
  50% { 
    box-shadow: 0 0 15px rgba(0,40,165,0.6) !important;
  }
}

/* Organic hover ripple effect */
.keyword-filter button:hover {
  position: relative !important;
  overflow: hidden !important;
}

.keyword-filter button:hover::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(0,40,165,0.1) 0%, transparent 70%);
  animation: ripple 0.6s ease-out;
  transform: translate(-50%, -50%);
}

@keyframes ripple {
  to {
    width: 200px;
    height: 200px;
  }
}

/* Professional cursor states */
.team-link, .progress-dot, .nav-arrow, button, [role="button"] {
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent !important;
}

.team-link:active {
  transform: translateY(-1px) scale(0.98) !important;
  transition: transform 0.1s var(--professional) !important;
}

/* Momentum-based scroll snapping */
html {
  scroll-behavior: smooth !important;
  scroll-snap-type: y mandatory !important;
  scroll-padding-top: 0 !important;
  -webkit-overflow-scrolling: touch !important;
}

/* Enhanced interactive feedback */
.seminar-table tr {
  transition: all 0.3s var(--professional) !important;
  cursor: default !important;
}

.seminar-table tr:hover {
  transform: translateY(-1px) !important;
  will-change: transform !important;
}

/* Subtle border gradients for premium feel */
.seminar-table {
  border: 1px solid transparent !important;
  background: 
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, rgba(0,40,165,0.15), rgba(48,98,255,0.08)) border-box !important;
}

.research-image {
  border: 1px solid transparent !important;
  background: 
    rgba(255,255,255,0.95) padding-box,
    linear-gradient(135deg, rgba(0,40,165,0.12), rgba(48,98,255,0.06)) border-box !important;
}

/* Hardware acceleration optimizations */
.team-link, .research-image, .seminar-table tr, .progress-dot {
  will-change: transform !important;
  transform: translateZ(0) !important;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
}

/* Refined button press states */
.nav-arrow:active {
  transform: scale(0.95) !important;
  transition: transform 0.1s var(--professional) !important;
}

/* Professional disabled states */
.nav-arrow:disabled {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
  filter: grayscale(20%) !important;
  transform: none !important;
  transition: all 0.3s var(--professional) !important;
}

/* Enhanced container depth with inner shadows */
.content-section .wrap {
  position: relative !important;
}

.content-section .section-content {
  position: relative !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,0.02) !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1) !important;
}

/* Smooth progress dot breathing animation when inactive */
.progress-dot:not(.active) {
  animation: gentleBreath 4s ease-in-out infinite !important;
}

@keyframes gentleBreath {
  0%, 100% { transform: scale(1); opacity: 0.25; }
  50% { transform: scale(1.1); opacity: 0.4; }
}

/* Enhanced table row stagger with momentum */
.seminar-table tbody tr:nth-child(odd) {
  animation-timing-function: var(--momentum) !important;
}

.seminar-table tbody tr:nth-child(even) {
  animation-timing-function: var(--professional) !important;
}

/* Professional loading states for interactive elements */
.team-link:hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%) !important;
  transform: translateX(-100%) !important;
  transition: transform 0.6s ease !important;
}

.team-link:hover::after {
  transform: translateX(100%) !important;
}

/* Refined section transitions with better performance */
.content-section {
  contain: layout style paint !important;
  transform: translateZ(0) !important;
}

/* Professional image hover with subtle rotation constraint */
.research-image:hover {
  transform: translateY(-12px) rotate(0.3deg) !important;
  transition: all 0.5s var(--momentum) !important;
}

/* CONTENT SECTIONS - All locked by default */
.content-section {
  min-height: 100vh !important;
  height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  background: transparent !important;
  opacity: 0 !important;
  transform: translateY(50px) !important;
  transition: all 0.8s cubic-bezier(.25,.46,.45,.94) !important;
  scroll-snap-align: start !important;
  scroll-snap-stop: always !important;
}

/* FREE SECTIONS: Complete override for natural scrolling */
.content-section.free,
#news {
  min-height: auto !important;
  height: auto !important;
  display: block !important;
  padding: clamp(2rem, 5vh, 4rem) 0 !important;
  overflow: visible !important;
}

.content-section.free .wrap,
#news .wrap {
  display: block !important;
  height: auto !important;
}

.content-section.free .section-content,
#news .section-content {
  max-height: none !important;
  overflow: visible !important;
  height: auto !important;
}

/* Mission sections: Full height + centered (explicit targeting) */
.content-section#research,
.content-section#education, 
.content-section#change,
.content-section#community {
  min-height: 100vh !important;
  height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0 !important;
}

/* Keep hero always full height and centered on ALL pages */
.content-section.hero-section {
  min-height: 100vh !important;
  height: 100vh !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  scroll-snap-align: start !important;
}

.content-section.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Content wrapper - simple approach */
.content-section .wrap {
  max-width: var(--max-w) !important; 
  margin: 0 auto !important; 
  padding: 0 var(--pad-x) !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  height: 100% !important;
  text-align: center !important;
}

/* FREE sections: Normal block content */
.content-section.free .wrap {
  display: block !important;
  height: auto !important;
  flex-direction: unset !important;
  justify-content: unset !important;
  align-items: unset !important;
}

/* FIXED: Section content - simple approach */
.section-content {
  position: relative !important;
  padding-left: clamp(1rem, 3vw, 2rem) !important;
  margin-bottom: clamp(1.5rem, 3vw, 2rem) !important;
  font-size: var(--step-0) !important;
  background: transparent !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  width: 100% !important;
  text-align: left !important;
}

/* FREE sections: Remove ALL constraints */
.content-section.free .section-content {
  max-height: none !important;
  overflow: visible !important;
  height: auto !important;
  padding-left: clamp(1rem, 3vw, 2rem) !important;
  margin-bottom: clamp(1.5rem, 3vw, 2rem) !important;
}

/* EXCEPTION: Content-heavy sections get top alignment and NO constraints */
.content-section:has(.people-grid) .wrap,
.content-section:has(.news-grid) .wrap,
.content-section:has(.courses-grid) .wrap,
.content-section:has(.partners-grid) .wrap,
.content-section.free .wrap {
  display: block !important;
  text-align: center !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Section-based subtle blue gradients with enhanced depth */
.content-section:nth-child(3) {
  background: 
    radial-gradient(circle at 10% 50%, rgba(0,40,165,.04) 0%, transparent 70%),
    linear-gradient(180deg, transparent 0%, rgba(248,249,255,0.3) 50%, transparent 100%),
    transparent !important;
}

.content-section:nth-child(4) {
  background: 
    radial-gradient(circle at 90% 50%, rgba(48,98,255,.03) 0%, transparent 70%),
    linear-gradient(180deg, transparent 0%, rgba(240,243,255,0.2) 50%, transparent 100%),
    transparent !important;
}

.content-section:nth-child(5) {
  background: 
    radial-gradient(circle at 50% 50%, rgba(0,40,165,.025) 0%, transparent 70%),
    linear-gradient(180deg, transparent 0%, rgba(248,251,255,0.25) 50%, transparent 100%),
    transparent !important;
}

.content-section:nth-child(6) {
  background: 
    radial-gradient(circle at 20% 50%, rgba(48,98,255,.03) 0%, transparent 70%),
    linear-gradient(180deg, transparent 0%, rgba(240,243,255,0.2) 50%, transparent 100%),
    transparent !important;
}

.content-section:nth-child(7) {
  background: 
    radial-gradient(circle at 80% 50%, rgba(0,40,165,.025) 0%, transparent 70%),
    linear-gradient(180deg, transparent 0%, rgba(248,249,255,0.3) 50%, transparent 100%),
    transparent !important;
}

.section-title {
  font-size: var(--step-3) !important;
  font-weight: 800 !important;
  margin-bottom: 1rem !important;
  color: var(--fg) !important;
  font-family: 'Space Grotesk', Inter, sans-serif !important;
}

.section-text {
  margin: 0.8rem 0 !important;
  font-size: var(--step-0) !important;
  color: var(--fg) !important;
  line-height: 1.65 !important;
  text-align: left !important;
  font-weight: 500 !important;
}

.section-text strong {
  font-weight: 800 !important;
}

/* Navigation link groups - flexible equal width system */
.nav-links-container {
  margin: clamp(1.5rem, 4vw, 2rem) auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: clamp(0.5rem, 1.5vw, 0.75rem) !important;
  max-width: 900px !important;
}

/* CONNECTED BUTTONS GRID - refined version */
.nav-links-container.square-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: 1fr 1fr !important;
  gap: 1px !important; 
  width: auto !important;
  height: auto !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-light)) !important;
  border-radius: 8px !important;
  padding: 1px !important; 
  overflow: hidden !important;
  box-shadow: var(--shadow-1) !important;
  margin: clamp(1.5rem, 4vw, 2rem) auto !important;
  position: relative !important;
  max-width: fit-content !important;
  transition: all 0.3s cubic-bezier(.25,.46,.45,.94) !important;
}

/* 6-LINK GRID - 3 columns x 2 rows */
.nav-links-container.square-grid-6 {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  grid-template-rows: 1fr 1fr !important;
  gap: 1px !important;
  width: auto !important;
  height: auto !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-light)) !important;
  border-radius: 8px !important;
  padding: 1px !important;
  overflow: hidden !important;
  box-shadow: var(--shadow-1) !important;
  margin: clamp(1.5rem, 4vw, 2rem) auto !important;
  position: relative !important;
  max-width: fit-content !important;
  transition: all 0.3s cubic-bezier(.25,.46,.45,.94) !important;
}

/* 2-LINK GRID - 2 columns x 1 row */
.nav-links-container.square-grid-2 {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: 1fr !important;
  gap: 1px !important;
  width: auto !important;
  height: auto !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-light)) !important;
  border-radius: 8px !important;
  padding: 1px !important;
  overflow: hidden !important;
  box-shadow: var(--shadow-1) !important;
  margin: clamp(1.5rem, 4vw, 2rem) auto !important;
  position: relative !important;
  max-width: fit-content !important;
  transition: all 0.3s cubic-bezier(.25,.46,.45,.94) !important;
}

/* Enhanced hover effect on the whole grid */
.nav-links-container.square-grid:hover,
.nav-links-container.square-grid-6:hover,
.nav-links-container.square-grid-2:hover {
  box-shadow: var(--shadow-premium) !important;
  transform: translateY(-2px) !important;
}

.nav-links-container.square-grid .team-link,
.nav-links-container.square-grid-6 .team-link,
.nav-links-container.square-grid-2 .team-link {
  margin: 0 !important;
  border-radius: 0 !important;
  display: inline-block !important;
  text-align: center !important;
  font-weight: 700 !important;
  padding: clamp(6px, 1vw, 8px) clamp(10px, 2vw, 12px) !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-light)) !important;
  color: white !important;
  transition: all 0.4s var(--spring) !important;
  text-decoration: none !important;
  border: none !important;
  position: relative !important;
  font-size: var(--step--1) !important;
  min-height: 40px !important;
  min-width: 40px !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  backdrop-filter: blur(15px) !important;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
}

/* Enhanced shimmer effect on hover */
.nav-links-container.square-grid .team-link::before,
.nav-links-container.square-grid-6 .team-link::before,
.nav-links-container.square-grid-2 .team-link::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255,255,255,0.3), 
    transparent) !important;
  transition: left 0.6s ease !important;
  pointer-events: none !important;
}

.nav-links-container.square-grid .team-link:hover::before,
.nav-links-container.square-grid-6 .team-link:hover::before,
.nav-links-container.square-grid-2 .team-link:hover::before {
  left: 100% !important;
}

/* Corner rounding - 4-link grid (2x2) */
.nav-links-container.square-grid .team-link:nth-child(1) { 
  border-top-left-radius: 7px !important; 
}
.nav-links-container.square-grid .team-link:nth-child(2) { 
  border-top-right-radius: 7px !important; 
}
.nav-links-container.square-grid .team-link:nth-child(3) { 
  border-bottom-left-radius: 7px !important; 
}
.nav-links-container.square-grid .team-link:nth-child(4) { 
  border-bottom-right-radius: 7px !important; 
}

/* Corner rounding - 6-link grid (3x2) */
.nav-links-container.square-grid-6 .team-link:nth-child(1) { 
  border-top-left-radius: 7px !important; 
}
.nav-links-container.square-grid-6 .team-link:nth-child(3) { 
  border-top-right-radius: 7px !important; 
}
.nav-links-container.square-grid-6 .team-link:nth-child(4) { 
  border-bottom-left-radius: 7px !important; 
}
.nav-links-container.square-grid-6 .team-link:nth-child(6) { 
  border-bottom-right-radius: 7px !important; 
}

/* Corner rounding - 2-link grid (2x1) */
.nav-links-container.square-grid-2 .team-link:nth-child(1) { 
  border-top-left-radius: 7px !important;
  border-bottom-left-radius: 7px !important;
}
.nav-links-container.square-grid-2 .team-link:nth-child(2) { 
  border-top-right-radius: 7px !important;
  border-bottom-right-radius: 7px !important;
}

/* Enhanced hover effects with magnetic interaction */
.nav-links-container.square-grid .team-link:hover,
.nav-links-container.square-grid-6 .team-link:hover,
.nav-links-container.square-grid-2 .team-link:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent)) !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: var(--shadow-intense) !important;
  color: white !important;
  text-decoration: none !important;
  z-index: 3 !important;
}

/* Staggered hover effects for neighboring buttons */
.nav-links-container.square-grid .team-link:hover + .team-link,
.nav-links-container.square-grid-6 .team-link:hover + .team-link,
.nav-links-container.square-grid-2 .team-link:hover + .team-link {
  transform: translateY(-1px) scale(1.02) !important;
  transition: all 0.3s var(--smooth) !important;
}

/* Responsive: 2 columns on mobile */
@media (max-width: 600px) {
  .nav-links-container.square-grid,
  .nav-links-container.square-grid-6,
  .nav-links-container.square-grid-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1px !important;
    width: auto !important;
    border-radius: 8px !important;
  }
  
  .nav-links-container.square-grid .team-link,
  .nav-links-container.square-grid-6 .team-link,
  .nav-links-container.square-grid-2 .team-link {
    border-radius: 0 !important;
    white-space: normal !important;
    line-height: 1.3 !important;
    padding: clamp(8px, 2vw, 12px) clamp(6px, 1.5vw, 8px) !important;
    min-height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* 4-link grid (2x2) - 2 columns on mobile */
  .nav-links-container.square-grid .team-link:nth-child(1) {
    border-top-left-radius: 7px !important;
  }
  .nav-links-container.square-grid .team-link:nth-child(2) {
    border-top-right-radius: 7px !important;
  }
  .nav-links-container.square-grid .team-link:nth-child(3) {
    border-bottom-left-radius: 7px !important;
  }
  .nav-links-container.square-grid .team-link:nth-child(4) {
    border-bottom-right-radius: 7px !important;
  }
  
  /* 6-link grid (3x2) - 2 columns on mobile */
  .nav-links-container.square-grid-6 .team-link:nth-child(1) {
    border-top-left-radius: 7px !important;
  }
  .nav-links-container.square-grid-6 .team-link:nth-child(2) {
    border-top-right-radius: 7px !important;
  }
  .nav-links-container.square-grid-6 .team-link:nth-child(5) {
    border-bottom-left-radius: 7px !important;
  }
  .nav-links-container.square-grid-6 .team-link:nth-child(6) {
    border-bottom-right-radius: 7px !important;
  }
  
  /* 2-link grid (2x1) - stays same on mobile */
  .nav-links-container.square-grid-2 .team-link:nth-child(1) {
    border-top-left-radius: 7px !important;
    border-bottom-left-radius: 7px !important;
  }
  .nav-links-container.square-grid-2 .team-link:nth-child(2) {
    border-top-right-radius: 7px !important;
    border-bottom-right-radius: 7px !important;
  }
  
  .nav-links-container.square-grid .team-link:hover,
  .nav-links-container.square-grid-6 .team-link:hover,
  .nav-links-container.square-grid-2 .team-link:hover {
    transform: translateX(3px) !important;
    scale: 1 !important;
  }
}

/* Equal width buttons that adapt to content */
.nav-links-container .team-link {
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  flex: 1 1 auto !important;
  min-width: clamp(140px, 18vw, 200px) !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

@media (max-width: 600px) {
  .nav-links-container .team-link {
    white-space: normal !important;
    min-width: clamp(120px, 40vw, 180px) !important;
    flex: 1 1 45% !important;
  }
}

@media (max-width: 400px) {
  .nav-links-container .team-link {
    flex: 1 1 100% !important;
    min-width: auto !important;
  }
}

/* Links - enhanced styling */
.team-link {
  font-weight: 700 !important;
  padding: clamp(6px, 1vw, 8px) clamp(10px, 2vw, 12px) !important;
  margin-right: 8px !important;
  margin-bottom: 6px !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-light)) !important;
  color: white !important;
  border-radius: 8px !important;
  display: inline-block !important;
  transition: all var(--dur) ease !important;
  text-decoration: none !important;
  border: none !important;
  position: relative !important;
  font-size: var(--step--1) !important;
  min-height: 40px !important;
  min-width: 40px !important;
  backdrop-filter: blur(10px) !important;
}

.team-link::before,
.team-link::after {
  display: none !important;
  content: none !important;
}

.team-link:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-1) !important;
  color: white !important;
  text-decoration: none !important;
}

.team-link:visited,
.team-link:active,
.team-link:focus {
  color: white !important;
  text-decoration: none !important;
}

/* Research area sections - enhanced with glassmorphism */
.research-area {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)) !important;
  gap: clamp(2rem, 4vw, 4rem) !important;
  align-items: center !important;
  max-height: none !important;
  overflow: visible !important;
}

.research-content {
  position: relative !important;
  padding-left: clamp(1rem, 3vw, 2rem) !important;
}

/* Enhanced research image cards with premium effects */
.research-image {
  position: relative !important;
  width: 100% !important;
  height: clamp(250px, 35vw, 400px) !important;
  border-radius: var(--card-br) !important;
  overflow: hidden !important;
  background: rgba(255,255,255,0.95) !important;
  border: 1px solid rgba(0,40,165,0.08) !important;
  box-shadow: var(--shadow-1) !important;
  transition: all 0.6s var(--spring) !important;
  display: block !important;
  text-decoration: none !important;
  color: inherit !important;
  backdrop-filter: blur(20px) !important;
  text-rendering: optimizeLegibility !important;
}

@media (max-width: 768px) {
  .research-image {
    height: clamp(280px, 50vw, 420px) !important;
  }
}

.research-image:hover {
  transform: translateY(-12px) rotate(0.5deg) !important;
  box-shadow: var(--shadow-intense) !important;
  text-decoration: none !important;
  color: inherit !important;
  border-color: rgba(0,40,165,0.2) !important;
}

.research-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  filter: grayscale(90%) !important;
  transition: all 0.4s cubic-bezier(.25,.46,.45,.94) !important;
  transform: scale(1) !important;
}

.research-image:hover img {
  filter: grayscale(0%) !important;
  transform: scale(1) !important;
}

.research-title {
  font-size: var(--step-2) !important;
  font-weight: 800 !important;
  margin-bottom: 0.5rem !important;
  color: var(--fg) !important;
  font-family: 'Space Grotesk', Inter, sans-serif !important;
}

.research-tagline {
  font-size: var(--step-0) !important;
  font-weight: 600 !important;
  margin-bottom: 1.5rem !important;
  color: var(--accent) !important;
  font-style: italic !important;
  text-align: left !important;
}

@media (max-width: 600px) {
  .research-tagline {
    text-align: center !important;
  }
}

.research-text {
  font-size: var(--step-0) !important;
  color: var(--fg) !important;
  line-height: 1.65 !important;
  margin: 0 !important;
  text-align: left !important;
  font-weight: 500 !important;
}

/* Remove floating dots completely */
.floating-dots {
  display: none !important;
}

.dot {
  display: none !important;
}

/* Remove grid overlay completely */
.grid-overlay {
  display: none !important;
}

/* Progress dots - enhanced */
.progress-nav {
  position: fixed !important;
  right: clamp(16px, 3vw, 32px) !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 100 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.progress-dot {
  width: clamp(6px, 1vw, 8px) !important;
  height: clamp(6px, 1vw, 8px) !important;
  border-radius: 50% !important;
  background: rgba(0,40,165,0.3) !important;
  transition: all 0.3s cubic-bezier(.25,.46,.45,.94) !important;
  cursor: pointer !important;
}

.progress-dot.active {
  background: var(--accent) !important;
  transform: scale(1.5) !important;
  box-shadow: 0 0 10px rgba(0,40,165,0.4) !important;
}

/* Navigation arrows - enhanced */
.nav-arrows {
  position: fixed !important;
  bottom: clamp(20px, 4vh, 40px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 100 !important;
  display: flex !important;
  gap: 20px !important;
}

.nav-arrow {
  width: clamp(45px, 8vw, 50px) !important;
  height: clamp(45px, 8vw, 50px) !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-light)) !important;
  color: white !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: clamp(16px, 3vw, 20px) !important;
  font-weight: bold !important;
  transition: all 0.3s cubic-bezier(.25,.46,.45,.94) !important;
  box-shadow: var(--shadow-1) !important;
  backdrop-filter: blur(10px) !important;
}

.nav-arrow:hover {
  transform: translateY(-2px) scale(1.1) !important;
  box-shadow: var(--shadow-2) !important;
}

.nav-arrow:disabled {
  opacity: 0.3 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

.nav-arrow:disabled:hover {
  transform: none !important;
  box-shadow: var(--shadow-1) !important;
}

/* PEOPLE GRID ADJUSTMENTS */
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  max-width: 1200px;
}

.content-section:nth-child(5) .people-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  max-width: 600px !important;
  margin: 2rem auto !important;
}

@media (max-width: 1000px) {
  .people-grid { 
    grid-template-columns: repeat(2, 1fr) !important; 
  }
  .content-section:nth-child(5) .people-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 700px) {
  .people-grid { 
    grid-template-columns: 1fr !important; 
  }
  .content-section:nth-child(5) .people-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Filter buttons - enhanced */
.keyword-filter {
  margin: clamp(1rem, 3vw, 2rem) auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.25rem, 1vw, 0.5rem);
  max-width: 1000px;
}

.keyword-filter button {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,40,165,0.2);
  padding: clamp(0.4rem, 1vw, 0.5rem) clamp(0.8rem, 2vw, 1rem);
  border-radius: 8px;
  cursor: pointer;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  color: #333;
  font-weight: 600;
  transition: all 0.2s ease;
  min-height: 40px;
  backdrop-filter: blur(10px);
}

.keyword-filter button:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-1px);
}

.keyword-filter button.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.person-card.is-hidden { 
  display: none !important; 
}

.is-section-hidden { 
  display: none !important; 
}

/* Jump links grid */
.jump-links {
  margin-top: clamp(1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: clamp(0.5rem, 2vw, 1rem);
  max-width: 800px;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
  /* Disable scroll snap on mobile for smooth scrolling */
  html, body {
    scroll-snap-type: none !important;
  }
  
  .content-section {
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
  }
  
  /* Remove grayscale effects on mobile */
  .research-image img,
  .person-card > img,
  .partner-logo img,
  .contact-photo img {
    filter: none !important;
  }
  
  /* Disable heavy animations and effects for smooth scrolling */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.1s !important;
    backdrop-filter: none !important;
  }
}

@media (max-width: 480px) {
  .progress-nav {
    display: none !important;
  }
  
  .research-area {
    grid-template-columns: 1fr !important;
  }
  
  .jump-links {
    grid-template-columns: 1fr !important;
  }
  
  .content-section {
    min-height: auto !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
    position: relative !important;
  }
  
  .content-section .wrap {
    position: relative !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  
  .section-content {
    position: relative !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
  }
  
  .partners-grid, .courses-grid, .news-grid, .people-grid {
    position: relative !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    display: grid !important;
  }
  
  .content-section {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { 
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  body {
    animation: none !important;
  }
  .floating-dots, .grid-overlay {
    display: none !important;
  }
}

/* Mobile snap scrolling fixes */
.content-section {
  min-height: 100vh !important;
  max-height: none !important;
  scroll-snap-align: start !important;
  scroll-snap-stop: always !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
}

@supports (height: 100dvh) {
  .content-section {
    min-height: 100dvh !important;
  }
}

.content-section.free,
.content-section:has(.people-grid),
.content-section:has(.news-grid),
.content-section:has(.partners-grid) {
  min-height: 100vh !important;
  height: auto !important;
  max-height: none !important;
  display: block !important;
  padding: 2rem 0 !important;
}

@supports (height: 100dvh) {
  .content-section.free,
  .content-section:has(.people-grid),
  .content-section:has(.news-grid),
  .content-section:has(.partners-grid) {
    min-height: 100dvh !important;
  }
}

html {
  scroll-snap-type: y mandatory !important;
  overflow-y: scroll !important;
}

body {
  scroll-snap-type: y mandatory !important;
  overflow-x: hidden !important;
  overflow-y: scroll !important;
}

.content-section {
  margin: 0 !important;
}

.content-section:not(.free):not(:has(.people-grid)):not(:has(.news-grid)):not(:has(.partners-grid)) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh !important;
  height: auto !important;
  overflow: visible !important;
}

@supports (height: 100dvh) {
  .content-section:not(.free):not(:has(.people-grid)):not(:has(.news-grid)):not(:has(.partners-grid)) {
    min-height: 100dvh !important;
  }
}

.content-section:not(.free):not(:has(.people-grid)):not(:has(.news-grid)):not(:has(.partners-grid)) .section-content {
  max-height: none !important;
  overflow: visible !important;
}

/* Mobile hero centering fixes */
@media (max-width: 480px) {
  .market-design-container {
    margin-top: -75px !important;
  }
  
  .hero-section {
    padding: 0 !important;
    padding-top: 75px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100dvh !important;
    height: 100dvh !important;
  }
  
  .hero-section .wrap {
    transform: translateY(clamp(-30vh, -25vw, -6rem)) !important;
    padding: 2rem var(--pad-x) !important;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .market-design-container {
    margin-top: -75px !important;
  }
  
  .hero-section {
    padding: 0 !important;
    padding-top: 75px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100dvh !important;
    height: 100dvh !important;
  }
  
  .hero-section .wrap {
    transform: translateY(clamp(-25vh, -20vw, -5rem)) !important;
    padding: 2rem var(--pad-x) !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .market-design-container {
    margin-top: -70px !important;
  }
  
  .hero-section {
    padding-top: 70px !important;
  }
  
  .hero-section .wrap {
    transform: translateY(clamp(-12vh, -10vw, -2.5rem)) !important;
  }
}

@media (max-width: 768px) {
  .hero-section {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .hero-section .wrap {
    padding: 2rem var(--pad-x) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  .content-section#research,
  .content-section#education,
  .content-section#change,
  .content-section#community {
    padding: 0 !important;
    min-height: 100dvh !important;
    height: auto !important;
    margin-bottom: 0 !important;
  }
}

@media (min-width: 769px) {
  .research-area {
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)) !important;
    gap: clamp(2rem, 4vw, 4rem) !important;
    align-items: center !important;
    padding: 0 !important;
    text-align: left !important;
  }
  
  .research-content {
    order: unset !important;
    padding-left: clamp(1rem, 3vw, 2rem) !important;
    text-align: left !important;
    margin-bottom: 0 !important;
  }
  
  .research-image {
    order: unset !important;
    width: 100% !important;
    max-width: none !important;
    height: clamp(250px, 35vw, 400px) !important;
    margin: 0 !important;
  }
}

@media (max-width: 480px) {
  .content-section#research,
  .content-section#education,
  .content-section#change,
  .content-section#community {
    padding: 0 !important;
    margin-bottom: 0 !important;
  }
  
  .research-area {
    gap: clamp(2rem, 6vw, 3rem) !important;
    padding: 0 !important;
  }
}

/* 8-GRID - 4 columns x 2 rows with connected styling */
.nav-links-container.square-grid-8 {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr 1fr !important;
  grid-template-rows: 1fr 1fr !important;
  gap: 1px !important;
  width: auto !important;
  height: auto !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-light)) !important;
  border-radius: 8px !important;
  padding: 1px !important;
  overflow: hidden !important;
  box-shadow: var(--shadow-1) !important;
  margin: clamp(1.5rem, 4vw, 2rem) auto !important;
  position: relative !important;
  max-width: 800px !important;
  transition: all 0.3s cubic-bezier(.25,.46,.45,.94) !important;
}

.nav-links-container.square-grid-8:hover {
  box-shadow: var(--shadow-2) !important;
  transform: translateY(-1px) !important;
}

.nav-links-container.square-grid-8 .team-link {
  margin: 0 !important;
  border-radius: 0 !important;
  display: inline-block !important;
  text-align: center !important;
  font-weight: 700 !important;
  padding: clamp(6px, 1vw, 8px) clamp(10px, 2vw, 12px) !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-light)) !important;
  color: white !important;
  transition: all 0.4s cubic-bezier(.25,.46,.45,.94) !important;
  text-decoration: none !important;
  border: none !important;
  position: relative !important;
  font-size: var(--step--1) !important;
  min-height: 40px !important;
  min-width: clamp(80px, 15vw, 120px) !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  backdrop-filter: blur(10px) !important;
}

.nav-links-container.square-grid-8 .team-link::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255,255,255,0.3), 
    transparent) !important;
  transition: left 0.6s ease !important;
  pointer-events: none !important;
}

.nav-links-container.square-grid-8 .team-link:hover::before {
  left: 100% !important;
}

.nav-links-container.square-grid-8 .team-link:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent)) !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: var(--shadow-intense) !important;
  color: white !important;
  text-decoration: none !important;
  z-index: 3 !important;
}

/* Staggered hover effects for 8-grid neighboring buttons */
.nav-links-container.square-grid-8 .team-link:hover + .team-link {
  transform: translateY(-1px) scale(1.02) !important;
  transition: all 0.3s var(--smooth) !important;
}

/* Corner rounding - 8-link grid (4x2) */
.nav-links-container.square-grid-8 .team-link:nth-child(1) { 
  border-top-left-radius: 7px !important; 
}
.nav-links-container.square-grid-8 .team-link:nth-child(4) { 
  border-top-right-radius: 7px !important; 
}
.nav-links-container.square-grid-8 .team-link:nth-child(5) { 
  border-bottom-left-radius: 7px !important; 
}
.nav-links-container.square-grid-8 .team-link:nth-child(8) { 
  border-bottom-right-radius: 7px !important; 
}

.nav-links-container.square-grid-8 .team-link {
  min-width: clamp(80px, 15vw, 120px) !important;
  font-size: clamp(0.85rem, 1.4vw, 0.95rem) !important;
}

@media (max-width: 900px) {
  .nav-links-container.square-grid-8 {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: repeat(4, 1fr) !important;
  }
  
  .nav-links-container.square-grid-8 .team-link:nth-child(1) { 
    border-top-left-radius: 7px !important; 
  }
  .nav-links-container.square-grid-8 .team-link:nth-child(2) { 
    border-top-right-radius: 7px !important; 
  }
  .nav-links-container.square-grid-8 .team-link:nth-child(4) { 
    border-top-right-radius: 0 !important; 
  }
  .nav-links-container.square-grid-8 .team-link:nth-child(5) { 
    border-bottom-left-radius: 0 !important; 
  }
  .nav-links-container.square-grid-8 .team-link:nth-child(7) { 
    border-bottom-left-radius: 7px !important; 
  }
  .nav-links-container.square-grid-8 .team-link:nth-child(8) { 
    border-bottom-right-radius: 7px !important; 
  }
}

@media (max-width: 600px) {
  .nav-links-container.square-grid-8 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1px !important;
  }
  
  .nav-links-container.square-grid-8 .team-link {
    border-radius: 0 !important;
  }
  
  /* 8-link grid - 2 columns on mobile */
  .nav-links-container.square-grid-8 .team-link:nth-child(1) {
    border-top-left-radius: 7px !important;
  }
  .nav-links-container.square-grid-8 .team-link:nth-child(2) {
    border-top-right-radius: 7px !important;
  }
  .nav-links-container.square-grid-8 .team-link:nth-child(7) {
    border-bottom-left-radius: 7px !important;
  }
  .nav-links-container.square-grid-8 .team-link:nth-child(8) {
    border-bottom-right-radius: 7px !important;
  }
  
  .nav-links-container.square-grid-8 .team-link:hover {
    transform: translateX(3px) !important;
    scale: 1 !important;
  }
}

/* NEWS CARDS - converted to blue theme */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 800px) {
  .news-grid { 
    grid-template-columns: 1fr; 
  }
}

.news-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(248,249,255,0.8), rgba(255,255,255,0.9));
  border: 1px solid rgba(0,40,165,0.15);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  backdrop-filter: blur(10px);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15), 0 12px 28px rgba(0,40,165,0.15);
  border-color: rgba(0,40,165,0.25);
}

.news-card .news-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: .4rem;
  color: var(--fg);
}

.news-card .news-type {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: .4rem;
}

.news-card .news-date {
  color: #555;
  font-size: .92rem;
  margin-bottom: .8rem;
  font-weight: 500;
}

.news-card .news-meta {
  margin-top: 0.5rem;
}

.news-card .news-meta p {
  margin: 0;
  font-size: .95rem;
  color: #222;
  line-height: 1.5;
  font-weight: 500;
}

.news-card .team-link {
  margin-top: 1rem;
  display: inline-block;
}

/* PARTNERS CARDS - converted to blue theme */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  max-width: 1000px;
}

@media (max-width: 800px) {
  .partners-grid { 
    grid-template-columns: 1fr; 
  }
}

.partner-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(248,249,255,0.8), rgba(255,255,255,0.9));
  border: 1px solid rgba(0,40,165,0.15);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  backdrop-filter: blur(10px);
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15), 0 12px 28px rgba(0,40,165,0.15);
  border-color: rgba(0,40,165,0.25);
}

.partner-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: .8rem;
}

.partner-info {
  flex: 1;
}

.partner-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: .4rem;
  color: var(--fg);
}

.partner-role {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: .8rem;
}

.partner-logo {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partner-card:hover .partner-logo img {
  filter: none;
}

.partner-meta {
  margin-bottom: 1rem;
}

.partner-meta p {
  margin: .4rem 0;
  font-size: .95rem;
  color: #222;
  line-height: 1.5;
  font-weight: 500;
}

.partner-meta strong {
  font-weight: 800;
  color: var(--accent);
}

.learn-more {
  font-weight: 700;
  color: var(--accent);
  margin-top: auto;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.learn-more:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

/* COURSES CARDS - converted to blue theme */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 800px) { 
  .courses-grid { 
    grid-template-columns: 1fr; 
  } 
}

.course-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(248,249,255,0.8), rgba(255,255,255,0.9));
  border: 1px solid rgba(0,40,165,0.15);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  color: inherit;
  backdrop-filter: blur(10px);
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15), 0 12px 28px rgba(0,40,165,0.15);
  border-color: rgba(0,40,165,0.25);
}

.course-card h3,
.course-card .course-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 .4rem;
  color: var(--fg);
}

.course-card .role,
.course-card .course-role {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
  margin: 0 0 .8rem;
}

.course-card .course-date {
  color: #555;
  font-size: .92rem;
  margin-bottom: .8rem;
  font-weight: 500;
}

.course-card .meta,
.course-card .course-meta { 
  font-size: 0.96rem;
  margin-bottom: .8rem;
  margin-top: 0.5rem;
}

.course-card .meta p,
.course-card .course-meta p,
.course-card p {
  margin: .4rem 0;
  font-size: .95rem;
  color: #222;
  line-height: 1.5;
  font-weight: 500;
}

.course-card .learn-more {
  font-weight: 700;
  color: var(--accent);
  margin-top: auto;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
}

.course-card .learn-more:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

/* CONTACT SECTION - for education page */
.contact-section {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 900px;
}

.contact-text { 
  flex: 1; 
  min-width: 300px; 
}

.contact-photo { 
  flex: 1; 
  max-width: 280px; 
  min-width: 220px; 
  text-align: center; 
}

.contact-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  filter: grayscale(100%);
  transition: filter .3s ease, transform .3s ease;
}

.contact-photo img:hover { 
  filter: none; 
  transform: scale(1.01); 
}

@media (max-width: 700px) {
  .contact-photo { 
    max-width: 200px; 
  }
  .contact-photo img { 
    height: 260px; 
  }
}

.muted { 
  color: #555; 
  font-size: .92rem; 
  font-weight: 500;
}

/* MOBILE PARTNER FIXES */
@media (max-width: 768px) {
  .content-section:nth-child(3) {
    opacity: 1 !important;
    transform: none !important;
    display: block !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  
  .content-section:nth-child(3) .section-content,
  .content-section:nth-child(3) .partners-grid {
    opacity: 1 !important;
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
  }
  
  .content-section:nth-child(3) .partners-grid {
    display: grid !important;
  }
}
/* Professional responsive seminar table matching blue theme */
.seminar-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid rgba(0,40,165,0.15);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.seminar-table th {
  background: linear-gradient(135deg, rgba(248,249,255,0.8) 0%, rgba(240,243,255,0.9) 100%);
  color: var(--accent);
  font-weight: 700;
  text-align: center;
  padding: 1rem 0.75rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  border-bottom: 2px solid rgba(0,40,165,0.1);
}

.seminar-table td {
  padding: 1rem 0.75rem;
  border-top: 1px solid #f0f0f0;
  vertical-align: middle;
  line-height: 1.5;
  text-align: center;
}

.seminar-table tr:hover td {
  background: linear-gradient(135deg, #fafafa 0%, #f7f7f7 100%);
  transform: translateY(-1px);
  transition: all 0.2s ease;
}

.seminar-table td strong {
  color: #333;
  font-weight: 600;
}

.seminar-table td em {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}

/* Professional speaker layout */
.seminar-table td div {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.seminar-table td img {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.seminar-table td img:hover {
  filter: none !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: scale(1.02);
}

/* Clean mobile design - streamlined cards */
@media (max-width: 768px) {
  .seminar-table thead {
    display: none;
  }
  
  .seminar-table,
  .seminar-table tbody,
  .seminar-table tr {
    display: block;
    width: 100%;
  }
  
  .seminar-table,
  .seminar-table tbody {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  
  .seminar-table tr {
    background: #fff;
    border: 1px solid rgba(0,40,165,0.12);
    border-radius: 12px;
    margin-bottom: 1rem;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
  }
  
  .seminar-table tr:hover {
    border-color: rgba(0,40,165,0.2);
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transform: none;
  }
  
  .seminar-table td {
    display: block;
    border: none;
    padding: 0.5rem 0;
    text-align: left;
    background: transparent !important;
  }
  
  .seminar-table td:nth-child(1) {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }
  
  .seminar-table td:nth-child(2) {
    font-weight: 500;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }
  
  .seminar-table td:nth-child(3) {
    margin-bottom: 0.75rem;
  }
  
  .seminar-table td:nth-child(3) div {
    flex-direction: row;
    text-align: left;
    gap: 0.75rem;
    justify-content: flex-start;
    align-items: center;
  }
  
  .seminar-table td:nth-child(3) img {
    width: 50px;
    height: 62px;
    flex-shrink: 0;
  }
  
  .seminar-table td:nth-child(4) {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.3;
  }
  
  /* Remove the label styling completely */
  .seminar-table td:before {
    display: none !important;
  }
  
  .seminar-table td strong {
    font-weight: 700;
    color: var(--accent);
  }
  
  .seminar-table td em {
    color: #666;
    font-weight: 500;
    font-style: italic;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .seminar-table td {
    padding: 0.85rem 0.6rem;
    font-size: 0.9rem;
    text-align: center;
  }
  
  .seminar-table th {
    padding: 0.85rem 0.6rem;
    font-size: 0.85rem;
    text-align: center;
  }
  
  .seminar-table td:nth-child(3) img {
    width: 70px;
    height: 87px;
  }
  
  .seminar-table td:nth-child(3) div {
    gap: 0.75rem;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .seminar-table tr {
    margin-bottom: 0.75rem;
    padding: 0.875rem;
    border-radius: 10px;
  }
  
  .seminar-table td:nth-child(3) img {
    width: 45px;
    height: 56px;
  }
  
  .seminar-table td:nth-child(3) div {
    gap: 0.5rem;
  }
  
  .seminar-table td {
    font-size: 0.9rem;
  }
  
  .seminar-table td:nth-child(1) {
    font-size: 0.95rem;
  }
  
  .seminar-table td:nth-child(4) {
    font-size: 0.9rem;
  }
}