/* About page — ported from about.html (pattern uses static pipeline) */

.page-hero {
  background-color: #341238;
  background-image: linear-gradient(160deg, #341238 0%, #de0a47 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/background_pattern.svg');
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

.breadcrumb-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  letter-spacing: 0.03em;
}

.story-pull {
  font-family: 'Helvena', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #f5f0f6;
}

.story-pull span {
  color: #ffffff;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 1.35rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(221, 28, 73, 0.6) 0%, rgba(51, 20, 55, 0.2) 100%);
}

@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  padding-left: 3.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .timeline-item {
    width: 50%;
    padding-left: 0;
    padding-bottom: 3rem;
  }

  .timeline-item:nth-child(odd) {
    padding-right: 3.5rem;
    text-align: right;
    margin-left: 0;
  }

  .timeline-item:nth-child(even) {
    padding-left: 3.5rem;
    margin-left: 50%;
  }
}

.timeline-dot {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #dd1c49;
  border: 2px solid rgba(13, 6, 16, 1);
  box-shadow: 0 0 0 3px rgba(221, 28, 73, 0.3);
  top: 0.15rem;
  left: 0.85rem;
}

@media (min-width: 768px) {
  .timeline-item:nth-child(odd) .timeline-dot {
    right: -0.5rem;
    left: auto;
  }

  .timeline-item:nth-child(even) .timeline-dot {
    left: -0.5rem;
  }
}

.stat-card {
  background: rgba(51, 20, 55, 0.22);
  border: 1px solid rgba(221, 28, 73, 0.15);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.stat-card:hover {
  border-color: rgba(221, 28, 73, 0.4);
  transform: translateY(-3px);
}

.value-card {
  background: rgba(51, 20, 55, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.value-card:hover {
  border-color: rgba(221, 28, 73, 0.3);
  background: rgba(221, 28, 73, 0.05);
}

.value-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 20px rgba(221, 28, 73, 0.3);
}

.team-card {
  background: rgba(51, 20, 55, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.team-card:hover {
  border-color: rgba(221, 28, 73, 0.35);
  transform: translateY(-4px);
}

.team-avatar {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: rgba(51, 20, 55, 0.5);
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card:hover .team-avatar {
  transform: scale(1.04);
}

.credential-block {
  background: rgba(13, 6, 16, 0.5);
  border: 1px solid rgba(221, 28, 73, 0.18);
  border-radius: 1.25rem;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: border-color 0.3s;
}

.credential-block:hover {
  border-color: rgba(221, 28, 73, 0.4);
}

.cred-icon {
  flex-shrink: 0;
  color: #dd1c49;
}

.cred-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}


.collage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.75rem;
}

.collage-grid img {
  border-radius: 0.875rem;
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.collage-main {
  grid-column: 1 / 3;
  height: 280px;
}

.collage-sub {
  height: 180px;
}

@media (min-width: 1024px) {
  .collage-main {
    height: 340px;
  }

  .collage-sub {
    height: 220px;
  }
}
