/* ===============================
   GLASSMORPHISM ACADEMIC WEBSITE
   David Kenneth Enns
   Scholar • Pastor • Artist
   =============================== */

/* CSS Variables for Glassmorphism Theme */
:root {
  /* Color Palette - Deep Blue Glass Theme */
  --primary-color: #1e3a8a;      /* Deep blue - academic authority */
  --secondary-color: #3730a3;    /* Deep indigo - ministry depth */  
  --tertiary-color: #1d4ed8;     /* Royal blue - performance energy */
  --accent-gold: #d4af37;        /* Gold - excellence & achievement */
  
  /* Glass Colors */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-bg-light: rgba(255, 255, 255, 0.15);
  --glass-bg-dark: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  
  /* Neutrals */
  --dark-charcoal: #1a1a1a;
  --medium-gray: #4a4a4a;
  --light-gray: #f8f9fa;
  --off-white: #fdfdfd;
  --pure-white: #ffffff;
  
  /* Background Gradients */
  --bg-gradient: linear-gradient(135deg, #1e3a8a 0%, #1e40af 30%, #3730a3 100%);
  --hero-overlay: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(59, 48, 163, 0.6) 100%);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  
  /* Spacing */
  --section-padding: 6rem 0;
  --container-padding: 0 2rem;
  --glass-padding: 2rem;
  --glass-border-radius: 20px;
  
  /* Glass Effects */
  --blur-strength: 20px;
  --glass-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  
  /* Shadows */
  --glass-shadow-light: 0 8px 32px rgba(31, 38, 135, 0.37);
  --glass-shadow-medium: 0 8px 32px rgba(31, 38, 135, 0.5);
  --glass-shadow-strong: 0 15px 35px rgba(31, 38, 135, 0.7);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--dark-charcoal);
  background: var(--bg-gradient);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Glass Morphism Base Class */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur-strength));
  -webkit-backdrop-filter: blur(var(--blur-strength));
  border-radius: var(--glass-border-radius);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow-light);
  transition: var(--glass-transition);
  position: relative;
}

.glass-card:hover {
  background: var(--glass-bg-light);
  box-shadow: var(--glass-shadow-medium);
  transform: translateY(-5px);
}


/* Enhanced Glass Effect for Navigation */
.glassmorphism {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 24px rgba(31, 38, 135, 0.2);
}

/* Typography System */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.2rem; }

p {
  margin-bottom: 1.2rem;
  color: var(--medium-gray);
}

/* Container System */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* Navigation with Glass Effect */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--glass-transition);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pure-white);
  text-decoration: none;
  transition: var(--glass-transition);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-brand:hover {
  color: var(--accent-gold);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: var(--glass-transition);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-link:hover {
  color: var(--accent-gold);
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: var(--glass-transition);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile Navigation */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--pure-white);
  transition: var(--glass-transition);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Large Hero Section with Background Image */
.hero-large {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--hero-overlay);
  z-index: -1;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--container-padding);
  width: 100%;
  margin-top: 80px;
}

.hero-content-glass {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

/* Hero Main Card */
.hero-main-card {
  padding: var(--glass-padding);
  background: rgba(255, 255, 255, 0.15);
}

.hero-text-content {
  color: var(--pure-white);
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.highlight-glass {
  color: var(--accent-gold);
  position: relative;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

.highlight-glass::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0.8;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* Expertise Badges */
.hero-subtitle-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.expertise-badge {
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--glass-transition);
}

.expertise-badge.scholar {
  background: rgba(30, 58, 138, 0.3);
  color: var(--pure-white);
}

.expertise-badge.pastor {
  background: rgba(55, 48, 163, 0.3);
  color: var(--pure-white);
}

.expertise-badge.artist {
  background: rgba(29, 78, 216, 0.3);
  color: var(--pure-white);
}

.expertise-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Ensure link styling doesn't interfere with badge styling */
a.expertise-badge {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.expertise-badge:visited {
  color: inherit;
}

.welcome-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  border-left: 4px solid var(--accent-gold);
}

.welcome-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.gratitude-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  max-width: 800px;
}

/* Three-Path Navigation Cards */
.hero-pathways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.pathway-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--glass-transition);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
}

.pathway-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: var(--glass-shadow-medium);
}

.pathway-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--pure-white);
  transition: var(--glass-transition);
}

.pathway-card:hover .pathway-icon {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
}

.pathway-card .expertise-badge {
  display: inline-block;
  margin: 0.5rem 0;
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
}

.pathway-card h3 {
  color: var(--pure-white);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.pathway-card p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Profile Card */
.profile-card {
  padding: var(--glass-padding);
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

/* Personal Quote in Hero Section */
.personal-quote-invitation {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.personal-quote-invitation .speech-bubble {
  padding: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.personal-quote-invitation .bubble-content p {
  margin-bottom: 1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
}

.personal-quote-invitation .bubble-icon {
  font-size: 1.2rem;
  color: var(--accent-gold);
  margin-bottom: 0.8rem;
}

.profile-image-container {
  position: relative;
  display: inline-block;
}

.profile-image-glass {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-gold);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
  transition: var(--glass-transition);
}

.profile-image-glass:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.6);
}

.profile-badge {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gold);
  color: var(--pure-white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--pure-white);
  transition: var(--glass-transition);
}

.scroll-indicator:hover {
  color: var(--accent-gold);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.scroll-indicator i {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section Headers with Glass Style */
.section-header-glass {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title-glass {
  color: var(--pure-white);
  margin-bottom: 1rem;
  position: relative;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.section-title-glass::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.section-subtitle-glass {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.milestone-celebration {
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--accent-gold), #f59e0b, var(--accent-gold));
  border-radius: 25px;
  color: var(--dark-bg);
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  display: inline-block;
  position: relative;
  box-shadow: 
    0 6px 20px rgba(212, 175, 55, 0.4),
    0 0 30px rgba(212, 175, 55, 0.2);
  animation: celebrationGlow 3s ease-in-out infinite;
  letter-spacing: 1px;
}

@keyframes celebrationGlow {
  0%, 100% {
    box-shadow: 
      0 6px 20px rgba(212, 175, 55, 0.4),
      0 0 30px rgba(212, 175, 55, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow: 
      0 8px 25px rgba(212, 175, 55, 0.6),
      0 0 40px rgba(212, 175, 55, 0.3);
    transform: scale(1.02);
  }
}

/* Mobile adjustment for milestone celebration */
@media (max-width: 768px) {
  .milestone-celebration {
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
    margin-top: 1rem;
    white-space: nowrap;
  }
}

/* About Section with Glass Grid */
.about-glass {
  padding: var(--section-padding);
  position: relative;
}

/* Mobile fix for top section spacing */
@media (max-width: 768px) {
  .about-glass {
    margin-top: 2rem;
  }
}

.glass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.expertise-card {
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-color);
  transition: var(--glass-transition);
}

.pastor-card::before {
  background: var(--secondary-color);
}

.artist-card::before {
  background: var(--tertiary-color);
}

.card-icon-glass {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--pure-white);
  transition: var(--glass-transition);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.pastor-card .card-icon-glass {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-gold));
}

.artist-card .card-icon-glass {
  background: linear-gradient(135deg, var(--tertiary-color), var(--accent-gold));
}

.expertise-card:hover .card-icon-glass {
  transform: scale(1.1);
  box-shadow: 0 8px 35px rgba(212, 175, 55, 0.5);
}

.expertise-card h3 {
  color: var(--pure-white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.expertise-card p {
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.expertise-stats {
  display: flex;
  justify-content: space-around;
  margin: 1.5rem 0;
  gap: 1rem;
}

.stat-item-glass {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 10px;
  flex: 1;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold);
  font-family: var(--font-heading);
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-highlight-glass {
  background: rgba(212, 175, 55, 0.2);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-gold);
  margin: 1.5rem 0;
  color: var(--pure-white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.card-cta {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background: var(--accent-gold);
  color: var(--pure-white);
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  margin-top: 1.5rem;
  transition: var(--glass-transition);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.card-cta:hover {
  background: #f4c430;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

/* Research Section with Creative Visualization */
.research-glass {
  padding: var(--section-padding);
  position: relative;
}

.research-showcase {
  margin-bottom: 1.5rem;
}

.research-hero-card {
  padding: 3rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.research-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Creative Christianese Network Visualization */
.christianese-network {
  position: relative;
  min-height: 400px;
  padding: 2rem;
}

.network-container {
  position: relative;
  width: 100%;
  height: 450px;
  max-width: 600px;
  margin: 0 auto;
}

.central-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--accent-gold), #f4c430);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--pure-white);
  font-size: 1.1rem;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
  z-index: 10;
  animation: pulse 3s ease-in-out infinite;
  cursor: pointer;
  transition: var(--glass-transition);
}

.central-node:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.9);
  animation: none;
  background: linear-gradient(135deg, #f4c430, var(--accent-gold));
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.05); }
}

.primary-node {
  position: absolute;
  min-width: 80px;
  min-height: 80px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  color: var(--pure-white);
  font-size: 0.85rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: var(--glass-transition);
  white-space: normal;
  line-height: 1.0;
  animation: floatGentle 4s ease-in-out infinite;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-node:hover {
  background: linear-gradient(135deg, var(--accent-gold), rgba(255, 255, 255, 0.3));
  transform: scale(1.2) rotate(5deg);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.8);
  color: var(--pure-white);
  font-weight: 700;
  z-index: 20;
  border: 2px solid var(--accent-gold);
}

/* Position primary nodes in circle */
.node-1 { top: 8%; left: 50%; transform: translateX(-50%); animation-delay: 0s; } /* Earnest */
.node-2 { top: 30%; right: 25%; animation-delay: 0.5s; }
.node-3 { top: 32%; right: 5%; animation-delay: 1s; }
.node-4 { top: 78%; right: 35%; animation-delay: 1.5s; } /* Reverent */
.node-5 { top: 85%; right: 25%; animation-delay: 2s; } /* Clear */
.node-6 { top: 65%; right: 20%; animation-delay: 2.5s; } /* Literal - moved to 4 o'clock position */
.node-7 { top: 75%; left: 20%; animation-delay: 3s; }
.node-8 { top: 50%; left: 15%; animation-delay: 3.5s; } /* Preaching Lingo */
.node-9 { top: 32%; left: 5%; animation-delay: 4s; }
.node-10 { top: 30%; left: 25%; animation-delay: 0.2s; }
.node-11 { top: 8%; left: 25%; animation-delay: 0.7s; }

.secondary-node {
  position: absolute;
  min-width: 60px;
  min-height: 60px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--glass-transition);
  white-space: normal;
  line-height: 1.0;
  cursor: pointer;
  animation: floatGentle 5s ease-in-out infinite;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.secondary-node:hover {
  background: rgba(212, 175, 55, 0.3);
  transform: scale(1.15);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
  color: var(--pure-white);
  border: 1px solid var(--accent-gold);
  z-index: 20;
  animation-play-state: paused;
}

/* Create size variations for different tiers */
.secondary-node.small {
  min-width: 40px;
  min-height: 40px;
  padding: 6px 10px;
  font-size: 0.6rem;
}

.secondary-node.small:hover {
  min-width: 70px;
  min-height: 70px;
  padding: 12px 16px;
  font-size: 0.75rem;
  transform: scale(1.3);
  z-index: 10;
  background: rgba(212, 175, 55, 0.4);
  border: 2px solid var(--accent-gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
  animation-play-state: paused;
}

.primary-node.medium {
  min-width: 70px;
  min-height: 70px;
  padding: 10px 15px;
  font-size: 0.8rem;
}

.primary-node.medium:hover {
  min-width: 90px;
  min-height: 90px;
  padding: 15px 20px;
  font-size: 0.9rem;
  transform: scale(1.3) rotate(5deg);
  z-index: 10;
  background: linear-gradient(135deg, var(--accent-gold), rgba(255, 255, 255, 0.4));
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.8);
  animation-play-state: paused;
}

/* Position secondary nodes */
.sec-1 { top: 5%; right: 15%; animation-delay: 0.3s; }
.sec-2 { top: 70%; right: 25%; animation-delay: 0.8s; } /* Wall-building - moved to lower right */
.sec-3 { top: 45%; left: 8%; animation-delay: 1.3s; } /* Culturally Crafted */
.sec-4 { top: 65%; left: 35%; animation-delay: 1.8s; }
.sec-5 { top: 68%; left: 15%; animation-delay: 2.3s; } /* Ambiguous */
.sec-6 { top: 15%; left: 50%; transform: translateX(-50%); animation-delay: 2.8s; }
.sec-7 { top: 85%; right: 15%; animation-delay: 3.3s; }
.sec-8 { top: 65%; right: 35%; animation-delay: 3.8s; }
.sec-9 { top: 55%; right: 8%; animation-delay: 4.3s; } /* Critical - moved down away from Biblically Anchored */
.sec-10 { top: 75%; right: 15%; animation-delay: 0.1s; } /* Performative - moved to lower right */
.sec-11 { top: 2%; right: 50%; animation-delay: 0.6s; }

.connection-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
  height: 2px;
  transform-origin: left center;
}

/* Connection lines from center to primary nodes */
.line-1 { width: 100px; top: 50%; left: 60px; transform: rotate(-90deg); }
.line-2 { width: 120px; top: 50%; left: 60px; transform: rotate(-30deg); }
.line-3 { width: 120px; top: 50%; left: 60px; transform: rotate(30deg); }
.line-4 { width: 100px; top: 50%; left: 60px; transform: rotate(90deg); }
.line-5 { width: 120px; top: 50%; left: 60px; transform: rotate(150deg); }
.line-6 { width: 120px; top: 50%; left: 60px; transform: rotate(-150deg); }

/* Animated particles */
.network-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-gold);
  border-radius: 50%;
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}

.particle-1 { top: 20%; left: 20%; animation-delay: 0s; }
.particle-2 { top: 30%; right: 20%; animation-delay: 1s; }
.particle-3 { bottom: 20%; right: 30%; animation-delay: 2s; }
.particle-4 { bottom: 30%; left: 30%; animation-delay: 3s; }
.particle-5 { top: 60%; left: 60%; animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
  50% { transform: translateY(-20px) scale(1.2); opacity: 1; }
}

@keyframes floatGentle {
  0%, 100% { 
    transform: translateY(0px) translateX(0px); 
  }
  25% { 
    transform: translateY(-3px) translateX(2px); 
  }
  50% { 
    transform: translateY(-5px) translateX(-1px); 
  }
  75% { 
    transform: translateY(-2px) translateX(-2px); 
  }
}

/* Alternative Visualizations */
.alternative-visualizations {
  padding: 3rem;
  margin-top: 3rem;
  border: 2px dashed rgba(212, 175, 55, 0.3);
}

.alternative-visualizations h3 {
  color: var(--accent-gold);
  text-align: center;
  margin-bottom: 2rem;
}

/* Taxonomy Visualization */
.taxonomy-visualization {
  margin-bottom: 4rem;
}

.taxonomy-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.taxonomy-category {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 1.5rem;
  border-left: 4px solid var(--accent-gold);
  transition: var(--glass-transition);
  cursor: pointer;
}

.taxonomy-category:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.category-name {
  color: var(--pure-white);
  font-weight: 600;
  font-size: 1.1rem;
}

.category-count {
  background: var(--accent-gold);
  color: var(--pure-white);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.category-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.value-tag {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--glass-transition);
}

.value-tag.safe { border-color: rgba(16, 185, 129, 0.5); background: rgba(16, 185, 129, 0.1); }
.value-tag.medium { border-color: rgba(245, 158, 11, 0.5); background: rgba(245, 158, 11, 0.1); }
.value-tag.high { border-color: rgba(239, 68, 68, 0.5); background: rgba(239, 68, 68, 0.1); }

.value-tag:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--accent-gold);
}

/* Phrase Explorer */
.phrase-explorer {
  margin-top: 3rem;
}

.phrase-container {
  margin-top: 2rem;
}

.phrase-display {
  height: 300px;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.floating-phrases {
  position: relative;
  height: 100%;
  width: 100%;
}

.phrase.floating {
  position: absolute;
  background: rgba(212, 175, 55, 0.2);
  color: var(--pure-white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(212, 175, 55, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  animation: phraseFloat 6s ease-in-out infinite;
  max-width: 280px;
  min-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phrase.floating:hover {
  background: var(--accent-gold);
  transform: scale(1.1);
  z-index: 10;
}

/* Position phrases randomly */
.phrase:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; }
.phrase:nth-child(2) { top: 25%; right: 20%; animation-delay: 1s; }
.phrase:nth-child(3) { top: 60%; left: 10%; animation-delay: 2s; }
.phrase:nth-child(4) { top: 80%; right: 30%; animation-delay: 3s; }
.phrase:nth-child(5) { top: 40%; left: 40%; animation-delay: 4s; }
.phrase:nth-child(6) { top: 15%; left: 60%; animation-delay: 5s; }
.phrase:nth-child(7) { top: 70%; right: 15%; animation-delay: 1.5s; }
.phrase:nth-child(8) { top: 30%; left: 80%; animation-delay: 2.5s; }
.phrase:nth-child(9) { top: 85%; left: 50%; animation-delay: 3.5s; }
.phrase:nth-child(10) { top: 50%; right: 5%; animation-delay: 4.5s; }

@keyframes phraseFloat {
  0%, 100% { 
    transform: translateY(0) translateX(0); 
    opacity: 0.7; 
  }
  25% { 
    transform: translateY(-10px) translateX(5px); 
    opacity: 1; 
  }
  50% { 
    transform: translateY(-5px) translateX(-5px); 
    opacity: 0.8; 
  }
  75% { 
    transform: translateY(-15px) translateX(10px); 
    opacity: 1; 
  }
}

.phrase-controls {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
}

.phrase-btn {
  background: var(--accent-gold);
  color: var(--pure-white);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--glass-transition);
}

.phrase-btn:hover {
  background: #f4c430;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.phrase-count-fine-print {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  font-weight: 400;
  margin-top: 0.2rem;
  font-style: italic;
}

.counter-text {
  color: var(--pure-white);
  font-weight: 600;
  font-size: 1.1rem;
}

.network-legend {
  text-align: center;
  margin-top: 2rem;
}

.network-legend h4 {
  color: var(--pure-white);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.network-legend p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin: 0;
}

/* Research Details */
.research-details {
  color: var(--pure-white);
}

.research-description-light {
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.research-details h3 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.research-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.research-status, .research-year {
  padding: 0.3rem 1rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.research-status {
  background: rgba(16, 185, 129, 0.3);
  color: var(--pure-white);
  border: 1px solid rgba(16, 185, 129, 0.5);
}

.research-year {
  background: rgba(245, 158, 11, 0.3);
  color: var(--pure-white);
  border: 1px solid rgba(245, 158, 11, 0.5);
}

.research-highlights {
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border-left: 3px solid var(--accent-gold);
}

.highlight-item i {
  color: var(--accent-gold);
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.highlight-item h4 {
  color: var(--pure-white);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.highlight-item p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 0.9rem;
}

.dev-badge {
  font-size: 0.7rem;
  background: rgba(16, 185, 129, 0.3);
  color: var(--pure-white);
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(16, 185, 129, 0.5);
  font-weight: 500;
}

.yellow-icon {
  color: var(--accent-gold);
  font-size: 1.5rem;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

/* Conference Presentations */
.conference-presentations {
  padding: 2rem;
  margin-bottom: 3rem;
  text-align: center;
  max-width: 66.67%;
  margin-left: auto;
  margin-right: auto;
}

.conference-presentations h3 {
  color: var(--pure-white);
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.publications-section-header {
  margin: 2rem 0 1.5rem 0;
}

.publications-section-header h3 {
  color: var(--pure-white);
  margin-bottom: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  text-align: center;
}

.conferences-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.conference-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  align-items: center;
  transition: var(--glass-transition);
}

.conf-year-location {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.conf-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.conference-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.conf-year {
  background: var(--accent-gold);
  color: var(--pure-white);
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.conf-location {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-style: italic;
}

.conf-name {
  color: var(--pure-white);
  font-weight: 600;
  text-align: left;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.conf-title {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-style: italic;
  text-align: left;
}

/* Performance Hero Card */
.performance-hero-card {
  padding: 3rem;
  margin-bottom: 3rem;
}

.performance-hero-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: center;
}

.horn-guy-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.horn-guy-logo-img {
  max-width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 4px 15px rgba(0,0,0,0.3));
}

.hero-image-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--glass-shadow-medium);
}

.performance-hero-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--glass-transition);
}

.performance-hero-image:hover {
  transform: scale(1.05);
}

.hero-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-gold);
  color: var(--pure-white);
  padding: 0.5rem 1rem;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.hero-text h3 {
  color: var(--pure-white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.retirement-note {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
  font-style: italic;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Publications Glass Grid */
.publications-glass-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.pub-card {
  padding: 2rem;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  overflow: hidden;
}

.pub-status-glass {
  grid-column: 1;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.pub-card.published .pub-status-glass {
  background: rgba(16, 185, 129, 0.3);
  color: var(--pure-white);
  border: 1px solid rgba(16, 185, 129, 0.5);
}

.pub-card.under-review .pub-status-glass {
  background: rgba(245, 158, 11, 0.3);
  color: var(--pure-white);
  border: 1px solid rgba(245, 158, 11, 0.5);
}

.pub-card.award .pub-status-glass {
  background: rgba(212, 175, 55, 0.3);
  color: var(--pure-white);
  border: 1px solid var(--accent-gold);
}

.pub-card.upcoming-book .pub-status-glass {
  background: rgba(96, 165, 250, 0.3);
  color: var(--pure-white);
  border: 1px solid rgba(96, 165, 250, 0.5);
}

/* Taxonomy Framework Styles */
.taxonomy-framework-section {
  margin: 2rem 0;
}

.taxonomy-intro {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-style: italic;
  border-left: 2px solid var(--accent-gold);
  padding-left: 1rem;
}

.taxonomy-categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.taxonomy-bubble {
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.5px;
  transition: var(--glass-transition);
  cursor: pointer;
  white-space: nowrap;
}

.taxonomy-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.taxonomy-bubble.biblical-connection {
  background: rgba(59, 130, 246, 0.3);
  color: var(--pure-white);
  border: 1px solid rgba(59, 130, 246, 0.5);
}

.taxonomy-bubble.interpretive-risk {
  background: rgba(239, 68, 68, 0.3);
  color: var(--pure-white);
  border: 1px solid rgba(239, 68, 68, 0.5);
}

.taxonomy-bubble.tone {
  background: rgba(139, 92, 246, 0.3);
  color: var(--pure-white);
  border: 1px solid rgba(139, 92, 246, 0.5);
}

.taxonomy-bubble.function {
  background: rgba(16, 185, 129, 0.3);
  color: var(--pure-white);
  border: 1px solid rgba(16, 185, 129, 0.5);
}

.taxonomy-bubble.domain {
  background: rgba(245, 158, 11, 0.3);
  color: var(--pure-white);
  border: 1px solid rgba(245, 158, 11, 0.5);
}

.taxonomy-bubble.subculture {
  background: rgba(236, 72, 153, 0.3);
  color: var(--pure-white);
  border: 1px solid rgba(236, 72, 153, 0.5);
}

.taxonomy-bubble.semantic {
  background: rgba(212, 175, 55, 0.3);
  color: var(--pure-white);
  border: 1px solid var(--accent-gold);
}

/* Phrase Sampler Trigger Button */
.phrase-sampler-trigger-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
}

.phrase-sampler-instruction {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0 0 0.5rem 0;
  opacity: 0.8;
  font-style: italic;
  text-align: center;
}

.phrase-sampler-trigger {
  background: linear-gradient(135deg, var(--accent-gold), #f59e0b, var(--accent-gold));
  color: var(--pure-white);
  border: 3px solid var(--accent-gold);
  padding: 1.2rem 3rem;
  border-radius: 35px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  box-shadow: 
    0 6px 20px rgba(212, 175, 55, 0.4),
    0 0 30px rgba(212, 175, 55, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: pulseGlow 2s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.phrase-sampler-trigger::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.phrase-sampler-trigger:hover::before {
  left: 100%;
}

.phrase-sampler-trigger:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 
    0 12px 35px rgba(212, 175, 55, 0.6),
    0 0 50px rgba(212, 175, 55, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  animation-play-state: paused;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 
      0 6px 20px rgba(212, 175, 55, 0.4),
      0 0 30px rgba(212, 175, 55, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 
      0 8px 25px rgba(212, 175, 55, 0.6),
      0 0 40px rgba(212, 175, 55, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
}

/* Phrase Sampler Modal */
.phrase-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.phrase-modal-overlay.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.phrase-modal-content {
  background: rgba(30, 58, 138, 0.1);
  backdrop-filter: blur(20px);
  border: 2px solid var(--accent-gold);
  border-radius: 20px;
  padding: 2rem;
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideIn 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.phrase-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.phrase-modal-header h3 {
  color: var(--accent-gold);
  font-size: 1.5rem;
  margin: 0;
}

.phrase-modal-close {
  background: none;
  border: none;
  color: var(--accent-gold);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.phrase-modal-close:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: rotate(90deg);
}

.phrase-display-modal {
  height: 350px;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.floating-phrases-modal {
  position: relative;
  height: 100%;
  width: 100%;
}

.phrase.floating-modal {
  position: absolute;
  background: rgba(212, 175, 55, 0.2);
  color: var(--pure-white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(212, 175, 55, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  animation: phraseFloatModal 6s ease-in-out infinite;
  max-width: 280px;
  min-width: 120px;
  text-align: center;
}

.phrase.floating-modal:hover {
  background: var(--accent-gold);
  transform: scale(1.1);
  z-index: 10;
}

.phrase-modal-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.phrase-btn-modal {
  background: linear-gradient(135deg, var(--accent-gold), rgba(255, 255, 255, 0.4));
  color: var(--pure-white);
  border: 2px solid var(--accent-gold);
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.phrase-btn-modal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.phrase-counter-modal {
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  font-size: 0.9rem;
  margin: 0;
  text-align: center;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { 
    transform: scale(0.9) translateY(-20px);
    opacity: 0;
  }
  to { 
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes phraseFloatModal {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.taxonomy-intro-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* Recent Publication Highlight Spacing */
.recent-highlight {
  margin-bottom: 1.5rem;
}

/* Piano Conversation Box Styling (exactly like Join the Conversation) */
.piano-conversation-box {
  position: relative;
  background: rgba(30, 58, 138, 0.1);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 2rem;
  border: 2px solid var(--accent-gold);
  box-shadow: var(--glass-shadow-medium);
  margin-top: 2rem;
  width: 100%;
  height: fit-content;
}

.piano-conversation-box::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(45deg, var(--accent-gold), transparent, var(--accent-gold));
  border-radius: 25px;
  z-index: -1;
  opacity: 0.3;
  animation: borderGlow 3s ease-in-out infinite;
}

.piano-conversation-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
}

.piano-conversation-header i {
  font-size: 1.4rem;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.piano-title-section {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.piano-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  line-height: 1.2;
}

.piano-subtitle {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(212, 175, 55, 0.8);
  font-style: italic;
  text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.piano-quote {
  font-style: italic;
  position: relative;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
}

.piano-quote p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.piano-quote p:last-child {
  margin-bottom: 0;
}

.piano-arrow {
  position: absolute;
  bottom: -10px;
  left: 30px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--accent-gold);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
  }
}

@keyframes pianoPulseGlow {
  0%, 100% {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
  }
  50% {
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.6);
  }
}

/* Piano Keyboard Visualization */
.piano-keyboard-container {
  margin-top: 2rem;
  padding: 0 1rem;
  overflow: hidden;
}

.piano-keyboard {
  position: relative;
  width: 100%;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.white-key {
  flex: 1;
  height: 100%;
  background: linear-gradient(to bottom, 
    rgba(255, 255, 255, 0.9) 0%, 
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0.7) 100%);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.3s ease;
  border-radius: 0 0 4px 4px;
}

.white-key:hover {
  background: linear-gradient(to bottom, 
    rgba(212, 175, 55, 0.3) 0%, 
    rgba(212, 175, 55, 0.2) 50%,
    rgba(212, 175, 55, 0.1) 100%);
  transform: translateY(1px);
}

.black-key {
  position: absolute;
  top: 0;
  width: 16px;
  height: 38px;
  background: linear-gradient(to bottom,
    rgba(20, 20, 20, 0.9) 0%,
    rgba(10, 10, 10, 0.95) 50%,
    rgba(5, 5, 5, 1) 100%);
  border-radius: 0 0 3px 3px;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.black-key:hover {
  background: linear-gradient(to bottom,
    rgba(212, 175, 55, 0.4) 0%,
    rgba(212, 175, 55, 0.3) 50%,
    rgba(212, 175, 55, 0.2) 100%);
  transform: translateY(1px);
}

.keyboard-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.05) 50%,
    rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
  border-radius: 8px;
}

/* Responsive keyboard */
@media (max-width: 768px) {
  .piano-keyboard {
    height: 50px;
  }
  
  .black-key {
    width: 12px;
    height: 32px;
  }
}

.pub-content {
  grid-column: 2;
}

.pub-content h4 {
  color: var(--pure-white);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  line-height: 1.3;
  font-size: 1.1rem;
}

.pub-venue, .pub-year {
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  font-size: 0.9rem;
  margin: 0.3rem 0;
}

.pub-abstract {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0.8rem 0 0 0;
  font-style: italic;
  border-left: 2px solid var(--accent-gold);
  padding-left: 1rem;
}

.pub-icon {
  grid-column: 3;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-gold);
  color: var(--pure-white);
  font-size: 1.2rem;
}

/* Ministry Section */
.ministry-glass {
  padding: var(--section-padding);
  position: relative;
}

.ministry-content-glass {
  margin-bottom: 4rem;
}

.current-role-card {
  padding: 3rem;
  margin-bottom: 3rem;
}

.role-header-glass {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Three Column Layout for Executive Pastor */
.role-header-three-column {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.role-icon-column {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.role-info-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.role-responsibilities-column {
  display: flex;
  flex-direction: column;
  min-width: 300px;
}

.resp-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.resp-stack .resp-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: var(--glass-transition);
  font-size: 0.9rem;
}

.resp-stack .resp-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.resp-stack .resp-item i {
  color: var(--accent-gold);
  font-size: 1.1rem;
  width: 16px;
  flex-shrink: 0;
}

.role-info h3 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.role-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.church-name, .role-location, .role-tenure {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.role-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--pure-white);
  box-shadow: 0 8px 25px rgba(55, 48, 163, 0.3);
}

.role-responsibilities {
  margin-bottom: 3rem;
}

.resp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.resp-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: var(--glass-transition);
}

.resp-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.resp-item i {
  color: var(--accent-gold);
  font-size: 1.3rem;
}

.resp-item span {
  color: var(--pure-white);
  font-weight: 500;
}

.ministry-stats-glass {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 15px;
  transition: var(--glass-transition);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.stat-number-glass {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  font-family: var(--font-heading);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.stat-label-glass {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Keys to the Soul - Separate Card */
.keys-to-soul-card {
  margin-top: 2rem;
}

/* Executive Pastor Accomplishments */
.accomplishments-list {
  margin: 2rem 0 0 0;
  padding: 1.5rem 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.accomplishments-list h4 {
  color: var(--text-primary);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  text-align: center;
  letter-spacing: 0.5px;
}

.accomplishments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.accomplishment-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.accomplishment-column li {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.3s ease;
  position: relative;
  padding-left: 1rem;
}

.accomplishment-column li:last-child {
  border-bottom: none;
}

.accomplishment-column li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: bold;
  opacity: 0.7;
}

.accomplishment-column li:hover {
  color: var(--text-primary);
}

.accomplishment-column li:hover:before {
  opacity: 1;
  transform: translateX(3px);
  transition: all 0.3s ease;
}

/* Mobile responsiveness for accomplishments */
@media (max-width: 768px) {
  .accomplishments-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .accomplishments-list {
    margin: 1.5rem 0;
    padding: 1rem;
  }
  
  .accomplishments-list h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .accomplishment-column li {
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .accomplishment-column li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .accomplishment-column:last-child li:last-child {
    border-bottom: none;
  }
}

.speaking-topics-glass {
  margin-top: 4rem;
}

.speaking-topics-glass h3 {
  color: var(--pure-white);
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.topics-glass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.topic-card {
  padding: 2rem;
  text-align: center;
}

.topic-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--pure-white);
  box-shadow: 0 8px 25px rgba(55, 48, 163, 0.3);
}

.topic-card h4 {
  color: var(--pure-white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.topic-card p {
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Performance Section */
.performance-glass {
  padding: var(--section-padding);
  position: relative;
  background: linear-gradient(135deg, 
    rgba(30, 58, 138, 0.9) 0%, 
    rgba(55, 48, 163, 0.8) 50%, 
    rgba(29, 78, 216, 0.9) 100%
  ), url('davethehornguy website homepage_files/cropped-IMG_2087-1-1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.performance-content-glass {
  margin-bottom: 4rem;
}

.media-showcase-glass {
  margin-bottom: 3rem;
}

.media-highlight-card {
  padding: 3rem;
  text-align: center;
}

.media-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.media-logo {
  padding: 1rem 2rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  transition: var(--glass-transition);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 200px;
  justify-content: center;
}

.agt-glass {
  background: rgba(245, 158, 11, 0.2);
  color: var(--pure-white);
  border: 2px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
}

.tonight-glass {
  background: rgba(96, 165, 250, 0.2);
  color: var(--pure-white);
  border: 2px solid rgba(96, 165, 250, 0.4);
  box-shadow: 0 4px 15px rgba(96, 165, 250, 0.2);
}

.sports-glass {
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.3), rgba(255, 152, 0, 0.3));
  border: 1px solid rgba(255, 87, 34, 0.4);
}

.media-logo:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.agt-glass:hover {
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.tonight-glass:hover {
  box-shadow: 0 8px 25px rgba(96, 165, 250, 0.4);
}

.media-logo i {
  font-size: 1.2rem;
  color: var(--pure-white);
}

.media-description h3 {
  color: var(--pure-white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.media-description p {
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Horn Collaboration Visualization */
.horn-philosophy-card {
  margin: 3rem 0;
}

.horn-viz-card {
  padding: 3rem;
  text-align: center;
  overflow: hidden;
}

.horn-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.horn-visual {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bulb Horn Design - Clean Silhouette */
.bulb-horn {
  position: relative;
  z-index: 10;
  width: 120px;
  height: 80px;
  transform: rotate(-15deg);
}

.horn-silhouette {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-gold), #f59e0b);
  position: relative;
  filter: drop-shadow(0 4px 15px rgba(212, 175, 55, 0.4));
  clip-path: polygon(
    /* Bulb - bottom left circle */
    0% 85%, 5% 75%, 15% 65%, 25% 60%, 35% 65%, 40% 75%, 35% 85%, 25% 90%, 15% 85%, 5% 80%,
    /* Connection to tube */
    40% 75%, 45% 70%, 50% 68%, 55% 70%, 60% 75%,
    /* Horn bell - expanding triangle */
    60% 75%, 70% 65%, 85% 45%, 95% 20%, 100% 0%, 100% 15%, 95% 35%, 85% 55%, 70% 75%, 60% 85%,
    /* Back to bulb connection */
    55% 85%, 50% 87%, 45% 85%, 40% 80%, 35% 85%
  );
}

/* Add highlight to the horn */
.horn-silhouette::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 15px;
  height: 15px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

/* Hide the old separate elements */
.horn-bulb, .horn-bell {
  display: none;
}

/* Sound Waves */
.sound-waves {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
}

.wave {
  position: absolute;
  border: 2px solid rgba(212, 175, 55, 0.6);
  border-radius: 50%;
  opacity: 0;
  animation-timing-function: ease-out;
}

.wave-1 { width: 100px; height: 100px; top: 150px; left: 150px; }
.wave-2 { width: 140px; height: 140px; top: 130px; left: 130px; }
.wave-3 { width: 180px; height: 180px; top: 110px; left: 110px; }
.wave-4 { width: 220px; height: 220px; top: 90px; left: 90px; }
.wave-5 { width: 260px; height: 260px; top: 70px; left: 70px; }
.wave-6 { width: 300px; height: 300px; top: 50px; left: 50px; }

/* Interactive Players */
.horn-players {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
}

.player {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: var(--pure-white);
  font-size: 0.85rem;
  font-weight: 600;
}

.player:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.player i {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

/* Philosophy Text */
.horn-philosophy {
  text-align: left;
}

.horn-philosophy h3 {
  color: var(--pure-white);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.horn-quote {
  color: var(--accent-gold);
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  line-height: 1.4;
}

.horn-explanation {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Animation Classes */
.horn-self-active .wave {
  animation: waveRipple 2s ease-out;
}

.horn-other-active .wave {
  animation: waveRippleLarge 2s ease-out;
}

@keyframes waveRipple {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes waveRippleLarge {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

/* Responsive Horn Design */
@media (max-width: 768px) {
  .horn-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .horn-visual {
    height: 250px;
  }
  
  .horn-philosophy {
    text-align: center;
  }
  
  .sound-waves {
    width: 300px;
    height: 300px;
  }
}

.performance-types-glass {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.perf-type-card {
  padding: 1.5rem;
  text-align: center;
}

.perf-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--tertiary-color), var(--accent-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--pure-white);
  box-shadow: 0 8px 25px rgba(29, 78, 216, 0.3);
  transition: var(--glass-transition);
}

.perf-type-card:hover .perf-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 35px rgba(29, 78, 216, 0.5);
}

.perf-type-card h4 {
  color: var(--pure-white);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.perf-type-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.4;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.perf-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.perf-partners span {
  background: rgba(29, 78, 216, 0.2);
  color: var(--pure-white);
  padding: 0.25rem 0.7rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(29, 78, 216, 0.3);
}

/* Performance Accomplishments */
.perf-accomplishments {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.perf-accomplishments ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.perf-accomplishments li {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 0.3rem 0;
  position: relative;
  padding-left: 0.8rem;
  transition: color 0.3s ease;
}

.perf-accomplishments li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: bold;
  opacity: 0.7;
  font-size: 0.8rem;
}

.perf-accomplishments li:hover {
  color: var(--text-primary);
}

.perf-accomplishments li:hover:before {
  opacity: 1;
  transform: translateX(2px);
  transition: all 0.3s ease;
}

/* Performance Website CTA */
.performance-website-cta {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.website-cta-button {
  text-decoration: none;
  color: inherit;
  padding: 1.5rem 2rem;
  max-width: 400px;
  transition: var(--glass-transition);
  cursor: pointer;
}

.website-cta-button:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: var(--glass-shadow-medium);
}

.cta-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cta-icon {
  color: var(--accent-gold);
  font-size: 1.5rem;
  opacity: 0.9;
}

.cta-text h4 {
  color: var(--pure-white);
  margin: 0 0 0.3rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 0.9rem;
}

/* Education Section */
.education-section {
  padding: var(--section-padding);
  position: relative;
}

.education-content-glass {
  max-width: 1200px;
  margin: 0 auto;
}

.education-degrees {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.degree-card {
  padding: 2.5rem;
  position: relative;
  transition: var(--glass-transition);
  border-left: 4px solid var(--accent-gold);
}

.degree-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glass-shadow-strong);
}

.degree-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.degree-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-gold), rgba(212, 175, 55, 0.8));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--pure-white);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  flex-shrink: 0;
}

.degree-info h3 {
  color: var(--pure-white);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  text-align: left;
}

.degree-timeline {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  text-align: left;
}

.degree-institution {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-style: italic;
  text-align: left;
}

.degree-details {
  padding-left: 0;
}

.dissertation-info h4 {
  color: var(--pure-white);
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.dissertation-info p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.dissertation-info em {
  color: rgba(255, 255, 255, 0.95);
}

.honors-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.2);
  padding: 0.8rem 1.2rem;
  border-radius: 25px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  width: fit-content;
}

.honors-badge i {
  color: var(--accent-gold);
  font-size: 1rem;
}

.honors-badge span {
  color: var(--pure-white);
  font-weight: 600;
  font-size: 0.9rem;
}

.dual-majors {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.major {
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 0;
  border-left: 3px solid rgba(212, 175, 55, 0.5);
  padding-left: 1rem;
}

/* PhD Card Specific Styling */
.phd-card {
  border-left-color: #3730a3;
}

.phd-card .degree-icon {
  background: linear-gradient(135deg, #3730a3, #1e3a8a);
  box-shadow: 0 4px 15px rgba(55, 48, 163, 0.3);
}

/* Masters Card Specific Styling */
.masters-card {
  border-left-color: var(--tertiary-color);
}

.masters-card .degree-icon {
  background: linear-gradient(135deg, var(--tertiary-color), var(--secondary-color));
  box-shadow: 0 4px 15px rgba(29, 78, 216, 0.3);
}

/* Bachelors Card Specific Styling */
.bachelors-card {
  border-left-color: var(--accent-gold);
}

/* Responsive Education Section */
@media (max-width: 768px) {
  .degree-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    align-items: center;
  }
  
  .degree-card {
    padding: 2rem;
    text-align: center;
  }
  
  .degree-info h3,
  .degree-timeline,
  .degree-institution {
    text-align: center;
  }
  
  .degree-details {
    text-align: center;
  }
  
  .dissertation-info p {
    text-align: left;
  }
  
  .honors-badge {
    margin: 0 auto;
  }
  
  .dual-majors {
    text-align: center;
  }
  
  .major {
    border-left: none;
    border-top: 3px solid rgba(212, 175, 55, 0.5);
    padding-left: 0;
    padding-top: 0.8rem;
  }
}

/* Publications Section */
.publications-glass {
  padding: var(--section-padding);
  position: relative;
}

.publications-content-glass {
  margin-bottom: 4rem;
}

.upcoming-book-card {
  padding: 3rem;
  margin-bottom: 3rem;
}

.upcoming-book-card .glass-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: center;
}

.book-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.book-spine {
  width: 150px;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.4);
  position: relative;
  overflow: hidden;
}

.book-spine::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
  pointer-events: none;
}

.book-title {
  color: var(--pure-white);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.book-author {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  text-align: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.book-details h3 {
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.book-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.book-details p {
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.book-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.publication-date, .book-type {
  padding: 0.5rem 1rem;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 600;
}

.publication-date {
  background: rgba(245, 158, 11, 0.3);
  color: var(--pure-white);
  border: 1px solid rgba(245, 158, 11, 0.5);
}

.book-type {
  background: rgba(16, 185, 129, 0.3);
  color: var(--pure-white);
  border: 1px solid rgba(16, 185, 129, 0.5);
}

.affiliations-glass {
  margin-top: 4rem;
  max-width: 1200px;
  margin: 4rem auto 0;
}

.affiliations-section {
  padding: var(--section-padding);
  position: relative;
}

/* Four Column Grid Layout */
.affiliations-four-column-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* Compact Rectangle Affiliation Cards */
.affiliation-card-square {
  text-decoration: none;
  color: inherit;
  aspect-ratio: 2.5 / 1.5;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--glass-transition);
  position: relative;
  min-height: 120px;
}

.affiliation-card-square:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: var(--glass-shadow-medium);
}

.affiliation-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  height: 100%;
  justify-content: center;
}

.affiliation-content span:first-child {
  color: var(--pure-white);
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.3;
  text-align: center;
}

.affiliation-abbrev {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 0.1rem;
}

.affiliation-card-square i {
  color: var(--accent-gold);
  opacity: 0.8;
  font-size: 0.8rem;
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
}

/* Centered Join the Conversation */
.community-invitation-centered {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.community-invitation-centered .speech-bubble {
  width: 50%;
  max-width: 600px;
  min-width: 400px;
}

.affiliation-card span {
  color: var(--pure-white);
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.affiliation-card i {
  color: var(--accent-gold);
  font-size: 0.9rem;
  opacity: 0.7;
  transition: var(--glass-transition);
}

.affiliation-card:hover i {
  opacity: 1;
  transform: translateX(3px);
}

/* Community Invitation Speech Bubble */
.community-invitation {
  position: relative;
  margin-top: 2rem;
}

.speech-bubble {
  position: relative;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(255, 193, 7, 0.1));
  border: 2px solid var(--accent-gold);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--glass-shadow-medium);
  backdrop-filter: blur(15px);
  width: 100%;
  height: fit-content;
}

.speech-bubble::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(45deg, var(--accent-gold), transparent, var(--accent-gold));
  border-radius: 25px;
  z-index: -1;
  opacity: 0.3;
  animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.bubble-content {
  text-align: center;
}

.bubble-icon {
  color: var(--accent-gold);
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.bubble-content h4 {
  color: var(--pure-white);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.bubble-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.invitation-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding-top: 1rem;
}

.cta-text {
  color: var(--accent-gold);
  font-style: italic;
  font-weight: 600;
  font-size: 0.9rem;
}

.invitation-cta i {
  color: rgba(255, 100, 100, 0.8);
  font-size: 1rem;
  animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.bubble-arrow {
  position: absolute;
  left: 30px;
  bottom: -15px;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid var(--accent-gold);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.bubble-arrow::after {
  content: '';
  position: absolute;
  left: -13px;
  top: -17px;
  width: 0;
  height: 0;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-top: 13px solid rgba(212, 175, 55, 0.2);
}

/* Collaborative Book Styling */
.pub-card.collaborative-book .pub-status-glass {
  background: rgba(96, 165, 250, 0.3);
  color: var(--pure-white);
  border: 1px solid rgba(96, 165, 250, 0.5);
}

/* Contact Section */
.contact-glass {
  padding: var(--section-padding);
  position: relative;
}

.contact-content-glass {
  margin-bottom: 4rem;
}

.contact-options-glass {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-card {
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-color);
  transition: var(--glass-transition);
}

.contact-card.ministry::before {
  background: var(--secondary-color);
}

.contact-card.performance::before {
  background: var(--tertiary-color);
}

.contact-icon-glass {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--pure-white);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
  transition: var(--glass-transition);
}

.contact-card.ministry .contact-icon-glass {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-gold));
  box-shadow: 0 8px 25px rgba(55, 48, 163, 0.3);
}

.contact-card.performance .contact-icon-glass {
  background: linear-gradient(135deg, var(--tertiary-color), var(--accent-gold));
  box-shadow: 0 8px 25px rgba(29, 78, 216, 0.3);
}

.contact-card:hover .contact-icon-glass {
  transform: scale(1.1);
  box-shadow: 0 8px 35px rgba(212, 175, 55, 0.5);
}

.contact-card h3 {
  color: var(--pure-white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.contact-methods-glass {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method-glass {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--glass-transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-method-glass:hover {
  background: rgba(212, 175, 55, 0.3);
  color: var(--pure-white);
  border-color: var(--accent-gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.location-card {
  padding: 2rem;
  text-align: center;
}

.location-info-glass h3 {
  color: var(--pure-white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.location-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.location-item i {
  color: var(--accent-gold);
  font-size: 1.2rem;
}

.location-item span {
  color: var(--pure-white);
  font-weight: 500;
}

/* Footer */
.footer-glass {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  color: var(--pure-white);
  padding: 3rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content-glass {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-main h4 {
  color: var(--pure-white);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.footer-main p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0.5rem 0;
}

.footer-quote p {
  color: var(--accent-gold);
  font-style: italic;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.footer-links-glass {
  display: flex;
  gap: 2rem;
}

.footer-links-glass a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--glass-transition);
}

.footer-links-glass a:hover {
  color: var(--accent-gold);
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.footer-bottom-glass {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom-glass p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content-glass {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .research-content {
    grid-template-columns: 1fr;
  }
  
  .hero-pathways {
    grid-template-columns: 1fr;
  }
  
  .role-header-glass {
    flex-direction: column;
    text-align: center;
  }
  
  .role-header-three-column {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .role-responsibilities-column {
    min-width: auto;
  }
  
  .upcoming-book-card .glass-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .performance-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 0;
    --glass-padding: 1.5rem;
  }
  
  .conference-presentations {
    max-width: 100%;
    padding: 1.5rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 3rem;
    transform: translateX(-100%);
    transition: var(--glass-transition);
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.8rem; }
  
  .profile-image-glass {
    width: 220px;
    height: 220px;
  }
  
  .glass-grid,
  .publications-glass-grid,
  .topics-glass-grid,
  .contact-options-glass {
    grid-template-columns: 1fr;
  }

  /* Mobile Publication Cards - Switch to Column Layout */
  .pub-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    position: relative;
  }

  .pub-status-glass {
    order: 1;
    align-self: center;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .pub-content {
    order: 2;
  }

  /* Position icons directly inside status badges on mobile */
  .pub-icon {
    display: contents;
  }

  .pub-icon i {
    font-size: 0.8rem;
    color: currentColor;
    opacity: 0.9;
  }

  /* Center align Lexicon of Christianese title on mobile */
  .research-section .research-details h3 {
    text-align: center;
  }

  /* Fix phrase sampler modal width on mobile */
  .phrase-modal-content {
    width: 95%;
    max-width: 90vw;
    padding: 1.5rem;
    margin: 1rem;
  }

  .phrase-display-modal {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
  }

  .floating-phrases-modal {
    max-width: 100%;
    overflow: hidden;
  }

  .phrase.floating-modal {
    max-width: 200px;
    min-width: 80px;
    word-wrap: break-word;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  /* Fix Christianese visualization mobile squishing */
  .network-container {
    height: 350px;
    min-height: 350px;
    padding: 1rem;
  }

  .christianese-network {
    min-height: 350px;
    padding: 1rem;
  }

  .central-node {
    width: 100px;
    height: 100px;
    font-size: 0.95rem;
  }

  .primary-node {
    width: 80px;
    height: 80px;
    font-size: 0.8rem;
  }

  .secondary-node {
    width: 65px;
    height: 65px;
    font-size: 0.7rem;
  }
  
  .performance-types-glass {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .hero-pathways {
    grid-template-columns: 1fr;
  }
  
  .expertise-stats {
    flex-direction: column;
  }
  
  .media-logos {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .footer-content-glass {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links-glass {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .network-container {
    height: 400px;
    max-width: 95%;
    padding: 1rem;
  }
  
  .central-node {
    width: 110px;
    height: 110px;
    font-size: 1rem;
  }
  
  .primary-node {
    width: 75px;
    height: 75px;
  }
  
  .taxonomy-categories-grid {
    gap: 0.8rem;
  }
  
  .taxonomy-bubble {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
  
  .secondary-node {
    width: 55px;
    height: 55px;
    font-size: 0.65rem;
  }
}

/* Medium screens - enforce 2x2 grid for affiliations */
@media (max-width: 1000px) {
  .affiliations-four-column-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .section-title-glass {
    font-size: 2rem;
  }
  
  .ministry-stats-glass {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Mobile Four Column Grid becomes 2x2 */
  .affiliations-four-column-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .affiliation-card-square {
    padding: 1rem;
  }
  
  .affiliation-content span:first-child {
    font-size: 0.8rem;
  }
  
  .community-invitation-centered .speech-bubble {
    width: 100%;
    min-width: auto;
  }
  
  .speech-bubble {
    max-width: 100%;
    margin-left: 0;
    padding-bottom: 2.5rem;
  }
  
  .bubble-arrow {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .expertise-badge {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }
  
  .performance-types-glass {
    grid-template-columns: 1fr;
  }
  
  /* Single column for very small screens */
  .affiliations-four-column-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Alternative Visualization Layouts */
.vis-alt-title {
  color: var(--pure-white);
  text-align: center;
  margin: 3rem 0 2rem 0;
  font-size: 1.8rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Option 1: Compact Side-by-Side */
.compact-vis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.compact-phrase-explorer {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.compact-phrase-explorer h4 {
  color: var(--pure-white);
  margin-bottom: 1.5rem;
  text-align: center;
}

.compact-floating-area {
  position: relative;
  height: 200px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.compact-shuffle-btn {
  display: block;
  margin: 0 auto;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--accent-gold), #f59e0b);
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.compact-shuffle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.compact-taxonomy {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.compact-taxonomy h4 {
  color: var(--pure-white);
  margin-bottom: 1.5rem;
  text-align: center;
}

.taxonomy-compact-list {
  space-y: 1rem;
}

.tax-item {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.tax-label {
  color: var(--accent-gold);
  font-weight: 600;
}

.taxonomy-stats {
  text-align: center;
  color: var(--accent-gold);
  font-weight: 600;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

/* Option 2: Dashboard Style */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.dashboard-main {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dashboard-phrase-area {
  position: relative;
  height: 300px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.dashboard-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.dashboard-shuffle {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--accent-gold), #f59e0b);
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 200px;
}

.dashboard-shuffle:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.phrase-counter-dash {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.dashboard-sidebar {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dashboard-sidebar h4 {
  color: var(--pure-white);
  margin-bottom: 1.5rem;
  text-align: center;
}

.sidebar-tax-group {
  margin-bottom: 1.5rem;
}

.sidebar-tax-group h5 {
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.tax-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tax-pill {
  background: rgba(212, 175, 55, 0.2);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.sidebar-summary {
  display: flex;
  justify-content: space-around;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  margin-top: 1.5rem;
}

.summary-stat {
  text-align: center;
}

.stat-big {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Visualization Toggle Controls */
.visualization-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.viz-toggle {
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.viz-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--pure-white);
}

.viz-toggle.active {
  background: var(--accent-gold);
  color: var(--primary-color);
  border-color: var(--accent-gold);
}

/* Responsive for Alternative Layouts */
@media (max-width: 768px) {
  .compact-vis-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .dashboard-controls {
    flex-direction: column;
    gap: 1rem;
  }
  
  .visualization-controls {
    flex-direction: column;
    align-items: center;
  }
  
  .tax-pills {
    justify-content: center;
  }
}

/* Mobile Hero Section Reordering */
@media (max-width: 1024px) {
  .hero-content-glass {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  /* Reorder elements: headshot first, title, pathways, then quote */
  .profile-card {
    order: 1;
    text-align: center;
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
    width: auto !important;
    max-width: 350px !important;
    margin: 2rem auto 0 auto !important;
  }
  
  .hero-main-card {
    order: 2;
  }
  
  .mobile-quote-standalone {
    order: 3;
    margin-top: 2rem;
    text-align: center;
  }
  
  /* Hide quote within profile card on mobile */
  .profile-card .personal-quote-invitation {
    display: none;
  }
  
  /* Style standalone quote for mobile - no glass card background */
  .mobile-quote-standalone {
    margin-top: 2rem;
  }
  
  /* Center headshot image on mobile */
  .profile-image-container {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
  
  .profile-image-glass {
    margin: 0 auto !important;
  }
}

/* Hide mobile quote on desktop */
@media (min-width: 1025px) {
  .mobile-quote-standalone {
    display: none;
  }
}

/* Mobile Christianese Layout */
@media (max-width: 1024px) {
  /* Hide original research hero card on mobile */
  .research-hero-card {
    display: none;
  }
  
  /* Show mobile standalone versions */
  .mobile-christianese-standalone {
    display: block;
    margin: 2rem 0;
  }
  
  .mobile-lexicon-card {
    display: block;
    margin-top: 2rem;
    padding: 2rem;
  }
}

/* Hide mobile elements on desktop */
@media (min-width: 1025px) {
  .mobile-christianese-standalone,
  .mobile-lexicon-card {
    display: none;
  }
}

/* CV Options */
.cv-options-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.cv-sentence {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  line-height: 1.5;
}

.cv-download-link {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.cv-download-link:hover {
  color: #f59e0b;
  transform: translateY(-1px);
}

.cv-download-link:hover::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent-gold);
}

.cv-rotating-word {
  color: var(--accent-gold);
  font-weight: 600;
  display: inline-block;
  text-align: center;
  transition: opacity 0.3s ease;
  position: relative;
}

.cv-through-text {
  transition: margin-left 0.3s ease;
}

.cv-scroll-icon {
  color: var(--accent-gold);
  margin-left: 0.3rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-3px);
  }
  60% {
    transform: translateY(-2px);
  }
}

/* Conference Grant Recipient */
.conf-grant {
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-style: italic;
  font-weight: 500;
}

/* Conference Recognition Row */
.conf-recognition-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.3rem;
  flex-wrap: wrap;
}

/* Conference Award Badge */
.conf-award-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.3);
  color: var(--pure-white);
  border: 1px solid var(--accent-gold);
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .cv-options-container {
    order: 4;
    margin-top: 1.5rem;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .particle, .central-node {
    animation: none;
  }
}

/* Focus styles for keyboard navigation */
.nav-link:focus,
.card-cta:focus,
.contact-method-glass:focus {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* Print styles for CV */
@media print {
  body, .glass-card, .hero-large, .research-glass, .ministry-glass, .performance-glass, .education-section {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  /* Hide non-CV elements */
  .navbar,
  .hero-pathways,
  .cv-download-container,
  .personal-quote-invitation,
  .mobile-quote-standalone,
  .scroll-indicator,
  .footer-glass,
  .phrase-sampler-trigger-container,
  .media-showcase-glass,
  .performance-hero-card,
  .piano-reflection-invitation,
  .milestone-celebration,
  .speaking-topics-glass,
  .performance-website-cta,
  .christianese-network,
  .network-legend,
  .mobile-christianese-standalone,
  .mobile-lexicon-card {
    display: none !important;
  }
  
  /* Page formatting */
  @page {
    margin: 0.5in;
    size: A4;
  }
  
  body {
    font-family: Georgia, serif;
    font-size: 11pt;
    line-height: 1.4;
    margin: 0;
    padding: 0;
  }
  
  /* Header with name and title */
  .hero-large {
    margin-bottom: 20pt;
    text-align: center;
  }
  
  .hero-title {
    font-size: 18pt;
    font-weight: bold;
    margin-bottom: 5pt;
    color: black;
  }
  
  .section-title-glass {
    font-size: 14pt;
    font-weight: bold;
    margin: 15pt 0 8pt 0;
    border-bottom: 1px solid black;
    padding-bottom: 2pt;
  }
  
  /* Education section */
  .degree-card {
    margin-bottom: 10pt;
    page-break-inside: avoid;
  }
  
  .degree-info h3 {
    font-size: 12pt;
    font-weight: bold;
    margin: 0 0 3pt 0;
  }
  
  .degree-timeline, .degree-institution {
    font-size: 10pt;
    margin: 2pt 0;
  }
  
  /* Publications */
  .pub-card {
    margin-bottom: 8pt;
    page-break-inside: avoid;
  }
  
  .pub-card h4 {
    font-size: 11pt;
    font-weight: bold;
    margin: 0 0 3pt 0;
  }
  
  .pub-venue, .pub-year {
    font-size: 10pt;
    font-style: italic;
  }
  
  .pub-abstract {
    font-size: 10pt;
    margin: 3pt 0;
  }
  
  /* Conference presentations */
  .conference-item {
    margin-bottom: 6pt;
    page-break-inside: avoid;
  }
  
  .conf-name {
    font-weight: bold;
  }
  
  /* Executive Pastor section */
  .current-role-card h3 {
    font-size: 12pt;
    font-weight: bold;
  }
  
  .church-name {
    font-size: 10pt;
    display: block;
    margin: 2pt 0;
  }
  
  /* Accomplishments */
  .accomplishments-list h4 {
    font-size: 11pt;
    font-weight: bold;
    margin: 8pt 0 5pt 0;
  }
  
  .accomplishment-column ul {
    margin: 0;
    padding-left: 15pt;
  }
  
  .accomplishment-column li {
    font-size: 10pt;
    margin: 2pt 0;
    list-style: disc;
  }
  
  /* Performance accomplishments */
  .perf-accomplishments li {
    font-size: 10pt;
    list-style: disc;
    margin: 2pt 0;
  }
  
  /* Hide icons and decorative elements */
  .fas, .far, .fab,
  .expertise-badge,
  .pub-icon,
  .degree-icon,
  .role-icon,
  .perf-icon,
  .taxonomy-bubble,
  .research-highlights,
  .pub-status-glass {
    display: none !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.8);
    --accent-gold: #000080;
  }
}