/* style.css - Custom styles for AACUMEN website */

@import url('https://fonts.googleapis.com/css2?family=Old+Standard+TT:ital,wght@0,400;1,400&display=swap');

body {
  font-family: 'Old Standard TT', serif;
  background: #000;
  color: #fff;
}

.font-montserrat {
  font-family: 'Old Standard TT', serif;
}

.font-playfair {
  font-family: 'Old Standard TT', serif;
}

p, .non-nav {
  font-size: 22px;
}

.tracking-wide {
  letter-spacing: 0.08em;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.uppercase {
  text-transform: uppercase;
}

.nav-active {
  background: #fff;
  color: #000 !important;
  border-radius: 0.5rem;
  padding: 0.25rem 1.25rem;
}

.card-img {
  border-radius: 2rem;
  object-fit: cover;
}

@media (max-width: 900px) {
  .main-content {
    flex-direction: column;
  }
  .main-content > div {
    width: 100% !important;
    margin-bottom: 2rem;
  }
}

/* Fade-in on scroll animations */
.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations for multiple elements */
.fade-in-staggered {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in-staggered.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide in from left */
.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide in from right */
.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up animation */
.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Team profile photos: keep full image visible without cropping */
.profile-photo {
  width: 100%;
  aspect-ratio: 4 / 5; /* Portrait ratio ideal for headshots */
  object-fit: contain; /* Prevent cropping; letterbox if needed */
  background-color: #f3f4f6; /* Subtle gray backdrop for letterboxing */
}

/* Professional team card layout */
.team-card {
  border: 1px solid #eef2f7; /* subtle border */
  box-shadow: 0 1px 1px rgba(0,0,0,0.02);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: #e5e7eb;
}

.team-photo-wrap {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo-wrap .profile-photo {
  height: 100%;
  aspect-ratio: auto; /* defer to wrapper */
}

.team-body {
  padding: 1.25rem; /* 20px */
}
.team-name {
  color: #111827;
}
.team-role {
  color: #6b7280; /* gray-500 */
  font-size: 0.95rem;
  line-height: 1.35;
  line-clamp: 2; /* standard */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em; /* reserve space for two lines */
}
