/* ==========================================================================
   Component Styles
   ========================================================================== */

/* 
 * Component Architecture:
 * - Each component is self-contained with clear responsibilities
 * - Uses design tokens for consistency and maintainability
 * - Progressive enhancement approach for interactions
 * - Accessible and semantic structure
 */

/* ==========================================================================
   Main Logo Component
   ========================================================================== */

/* 
 * Hero logo with subtle interactive feedback
 * Uses transform for performance-optimized animations
 */
.logo {
  width: var(--logo-size);
  height: var(--logo-size);
  object-fit: contain;
  margin-bottom: var(--space-4xl);
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.08));
  transition: transform var(--timing-slow) var(--easing-smooth);
}

.logo:hover {
  transform: scale(1.07) rotate(-2deg);
}

/* ==========================================================================
   Author Cards Component
   ========================================================================== */

/* 
 * Card-based layout for author information
 * Responsive design adapts layout from horizontal to vertical on mobile
 * Focuses on readability and professional presentation
 */

/* Author Container */
.authors {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 var(--space-4xl);
}

/* Individual Author Card */
.author {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--space-3xl) var(--space-3xl);
  min-width: var(--author-min-width);
  margin: var(--space-xs) 0;
  transition: all var(--timing-base);
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  text-align: left;
}

/* Author Avatar */
.author-avatar {
  width: var(--avatar-size);
  height: var(--avatar-size);
  object-fit: cover;
  border-radius: var(--radius-full);
  background: var(--color-background-primary);
  flex-shrink: 0;
}

/* Author Text Content */
.author-name {
  display: block;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
  letter-spacing: var(--letter-spacing-wide);
}

.author-affil {
  display: block;
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  line-height: var(--line-height-tight);
}

.author-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Author Link Wrapper */
.author-link {
  text-decoration: none;
  color: inherit;
  display: flex;
}

/* ==========================================================================
   Logo Grid Component
   ========================================================================== */

/* 
 * Responsive grid of partner/tool logos
 * Grayscale-to-color hover effect for visual hierarchy
 * Adaptive sizing for different logo dimensions
 */

/* Grid Container */
.logo-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-5xl);
  padding: var(--space-lg) var(--space-3xl);
}

/* Base Grid Logo Styles */
.grid-logo {
  height: var(--grid-logo-base);
  width: auto;
  filter: grayscale(1) brightness(0.85) opacity(0.8);
  transition: all 0.4s var(--easing-smooth);
  cursor: pointer;
  object-fit: contain;
}

/* Logo-Specific Size Adjustments */
.logo-weac { 
  height: var(--grid-logo-weac); 
}

.logo-pypi { 
  height: var(--grid-logo-pypi); 
}

.logo-csar { 
  margin: 0 -32px; /* Negative margin to compensate for logo whitespace */
}

/* Logo Link Wrapper */
.logo-link {
  display: inline-block;
} 