/* ============================================================
   BBN CATERERS — FOUNDER SECTION (TRINITY REDESIGN)
   ============================================================ */

.founder {
  background: var(--gradient-section-alt);
  overflow: hidden;
}

/* ─── Header ─── */
.founder__header {
  margin-bottom: var(--space-12);
  text-align: left;
}

.founder__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.founder__eyebrow-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-taupe);
  opacity: 0.5;
}

.founder__eyebrow-text {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--color-taupe);
}

.founder__title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 3.5vw, var(--text-4xl));
  font-weight: var(--fw-light);
  color: var(--color-dark);
  line-height: 1.15;
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.founder__title em {
  font-style: italic;
  color: var(--color-taupe);
}

.founder__intro {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  font-weight: var(--fw-light);
  max-width: 70ch;
  margin-bottom: var(--space-4);
  text-wrap: pretty;
}

/* ─── Trinity Founders Grid ─── */
.founder__trinity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-12);
  margin-bottom: var(--space-8);
  align-items: start;
}

.founder__card {
  position: relative;
  transition: transform 300ms ease-out;
}

/* Image Wrap & Frame */
.founder__card-img-wrap {
  position: relative;
  margin-bottom: var(--space-6);
}

.founder__card-img-inner {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(137, 120, 92, 0.15);
  background-color: var(--color-cream-mid);
  box-shadow: var(--shadow-sm);
}

.founder__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* Turban crop protection */
  display: block;
  transition: transform 400ms ease-out;
}

/* Offset Accent Box behind photo card */
.founder__card-img-accent {
  position: absolute;
  top: 16px;
  left: -12px;
  right: 12px;
  bottom: -16px;
  border: 1px solid var(--color-taupe);
  opacity: 0.22;
  pointer-events: none;
  z-index: -1;
  transition: transform 300ms ease-out, opacity 300ms ease-out;
}

/* Hover Zoom & Accent shifting */
@media (prefers-reduced-motion: no-preference) {
  .founder__card:hover .founder__card-img {
    transform: scale(1.03);
  }

  .founder__card:hover .founder__card-img-accent {
    transform: translate(-4px, 4px);
    opacity: 0.45;
  }
}

/* Profile details */
.founder__card-info {
  padding-top: var(--space-2);
}

.founder__card-name {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-dark);
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  margin-bottom: var(--space-1);
  letter-spacing: -0.01em;
}

.founder__card-role {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-taupe);
  margin-bottom: var(--space-4);
}

.founder__card-bio {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-text); /* High contrast compliant #3A3630 */
  line-height: 1.65;
  font-weight: var(--fw-light);
  text-wrap: pretty;
}

/* ─── Timeline Row Container (Underneath profiles) ─── */
.founder__timeline-wrap {
  margin-top: var(--space-16);
  padding-top: var(--space-10);
  border-top: 1px solid rgba(137, 120, 92, 0.12);
}

.founder__timeline-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-taupe);
  margin-bottom: var(--space-6);
  text-align: center;
}

.founder__timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-6);
  position: relative;
  margin-top: var(--space-4);
}

/* Horizontal line behind timeline nodes on desktop */
.founder__timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(10% + 24px);
  right: calc(10% + 24px);
  height: 2px;
  background: linear-gradient(to right, var(--color-taupe), rgba(137, 120, 92, 0.15));
  opacity: 0.4;
  z-index: 0;
}

.founder .timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  padding-bottom: 0;
  /* No hover transform — logos are not interactive links */
}

.founder .timeline-item__dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-cream-light);
  border: 1px solid rgba(137, 120, 92, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(137, 120, 92, 0.08);
}

.founder .timeline-item__dot-inner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(137, 120, 92, 0.45);
}

.founder .timeline-item__year {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  color: var(--color-taupe);
  text-transform: uppercase;
  margin-top: var(--space-1);
}

.founder .timeline-item__event {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-dark);
  font-weight: var(--fw-regular);
  line-height: 1.5;
  max-width: 240px;
  margin-inline: auto;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .founder__trinity-grid {
    gap: var(--space-6);
  }
}

@media (max-width: 768px) {
  .founder__trinity-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    max-width: 420px;
    margin-inline: auto;
  }

  .founder__timeline-wrap {
    margin-top: var(--space-10);
    padding-top: var(--space-8);
  }

  .founder__timeline-label {
    text-align: left;
  }

  .founder__timeline {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .founder__timeline::before {
    display: none;
  }

  .founder .timeline-item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: var(--space-6);
    padding-bottom: var(--space-8);
  }

  /* No hover transform on mobile either */

  .founder .timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 48px;
    width: 2px;
    height: calc(100% - 16px);
    background: linear-gradient(to bottom, var(--color-taupe), rgba(137, 120, 92, 0.05));
    opacity: 0.4;
  }

  .founder .timeline-item__event {
    max-width: 100%;
    margin-inline: 0;
  }
}

/* ─── Timeline Logo Styling ─── */
.timeline-item__logo-container {
  margin-top: var(--space-3);
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* PNG logos (transparent background) — render naturally, tasteful opacity */
.founder .timeline-item__logo {
  max-height: 100%;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  /* No grayscale, no mix-blend-mode — logos render at natural color */
  opacity: 0.82;
  display: block;
}

/* JPG logo (Doner & Gyros) has a dark background — contain in a pill */
.founder .timeline-item__logo--jpg {
  max-height: 28px;
  max-width: 96px;
  border-radius: 4px;
  opacity: 1;
  /* Contained, no filter needed */
}

@media (max-width: 768px) {
  .timeline-item__logo-container {
    justify-content: flex-start;
  }
}