/* ============================================================
   GMFL — about.css — About Page Styles
   ============================================================ */

/* ─── STAGGER UTILITY (used by main.js) ──────────────────── */
.stagger-parent .stagger-child {
  opacity: 0;
  transform: translateY(30px);
}

/* ══════════════════════════════════════════════════════════
   2. MISSION STATEMENT
══════════════════════════════════════════════════════════ */
.about-mission {
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

/* Ambient background glow */
.about-mission::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.mission-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 5rem;
  align-items: center;
}

/* ─── Mission Left ───────────────────────────────────────── */
.mission-left {
  position: relative;
}

.mission-deco-quote {
  position: absolute;
  top: -2rem;
  left: -1rem;
  font-size: 12rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(201, 168, 76, 0.06);
  pointer-events: none;
  user-select: none;
  font-family: var(--font);
  z-index: 0;
}

.mission-quote {
  position: relative;
  z-index: 1;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: var(--fw-thin);
  line-height: 1.5;
  color: var(--white);
  border: none;
  padding: 0;
  margin: 0;
  letter-spacing: -0.01em;
}

/* Gold left accent bar */
.mission-quote::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 2rem;
}

/* ─── Mission Right ──────────────────────────────────────── */
.mission-right {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.mission-para {
  font-size: 0.95rem;
  font-weight: var(--fw-light);
  color: rgba(250, 250, 250, 0.65);
  line-height: 1.85;
  letter-spacing: 0.01em;
  position: relative;
  padding-left: 1.2rem;
  border-left: 1px solid rgba(201, 168, 76, 0.15);
  transition: border-color 0.3s var(--ease);
}

.mission-para:hover {
  border-color: rgba(201, 168, 76, 0.4);
  color: rgba(250, 250, 250, 0.8);
}

/* ══════════════════════════════════════════════════════════
   3. VALUES GRID
══════════════════════════════════════════════════════════ */
.about-values {
  padding: var(--space-xl) 0;
  background: var(--black);
  position: relative;
}

/* Subtle top + bottom gold rule */
.about-values::before,
.about-values::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
}
.about-values::before { top: 0; }
.about-values::after  { bottom: 0; }

/* ─── Value Card ─────────────────────────────────────────── */
.value-card {
  border-top: 3px solid var(--gold);
  padding: 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  background: var(--black-card);
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(201, 168, 76, 0.12);
  border-color: var(--gold-light);
}

.value-icon {
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  transition: transform 0.4s var(--ease-spring),
              color 0.3s var(--ease);
}

.value-card:hover .value-icon {
  transform: scale(1.2) rotate(15deg);
  color: var(--gold-light);
}

.value-title {
  font-size: 1.1rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.value-desc {
  font-size: 0.88rem;
  font-weight: var(--fw-light);
  color: rgba(250, 250, 250, 0.55);
  line-height: 1.8;
  max-width: 280px;
}

/* ══════════════════════════════════════════════════════════
   4. TEAM SECTION
══════════════════════════════════════════════════════════ */
.about-team {
  padding: var(--space-xl) 0;
  background: var(--black-soft);
}

/* ─── Team Card ──────────────────────────────────────────── */
.team-card {
  padding: 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

/* ─── Team Avatar ────────────────────────────────────────── */
.team-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-spring),
              box-shadow 0.4s var(--ease);
}

/* Gold ring around avatar on hover */
.team-avatar::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0);
  transition: border-color 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}

.team-card:hover .team-avatar {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(201, 168, 76, 0.2);
}

.team-card:hover .team-avatar::after {
  border-color: rgba(201, 168, 76, 0.6);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.15);
}

.team-avatar-initials {
  font-size: 1.6rem;
  font-weight: var(--fw-thin);
  letter-spacing: 0.15em;
  color: rgba(201, 168, 76, 0.7);
}

/* ─── Team Text ──────────────────────────────────────────── */
.team-name {
  font-size: 1.15rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.05em;
  color: var(--white);
}

.team-title {
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: -0.3rem;
}

.team-bio {
  font-size: 0.88rem;
  font-weight: var(--fw-light);
  color: rgba(250, 250, 250, 0.5);
  line-height: 1.8;
  max-width: 300px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════
   5. TIMELINE
══════════════════════════════════════════════════════════ */
.about-timeline {
  padding: var(--space-xl) 0;
  background: var(--black);
}

/* ─── Timeline Container ─────────────────────────────────── */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

/* ─── Center Vertical Line ───────────────────────────────── */
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--gold) 8%,
    var(--gold) 92%,
    transparent 100%
  );
  pointer-events: none;
}

/* ─── Timeline Item Base ─────────────────────────────────── */
.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 3.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* ─── Timeline Dot ───────────────────────────────────────── */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 0.35rem;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--black);
  z-index: 2;
  flex-shrink: 0;
  transition: background 0.3s var(--ease),
              transform 0.3s var(--ease-spring),
              box-shadow 0.3s var(--ease);
}

.timeline-item:hover .timeline-dot {
  background: var(--gold-light);
  transform: translateX(-50%) scale(1.5);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.5);
}

/* Outer ring pulse on hover */
.timeline-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0);
  transition: border-color 0.3s var(--ease),
              inset 0.3s var(--ease);
}

.timeline-item:hover .timeline-dot::after {
  border-color: rgba(201, 168, 76, 0.4);
}

/* ─── Timeline Content ───────────────────────────────────── */
.timeline-content {
  width: calc(50% - 2rem);
}

/* ─── Left Items (odd) — text on the LEFT ────────────────── */
.timeline-item--left {
  justify-content: flex-start;
}

.timeline-item--left .timeline-content {
  text-align: right;
  padding-right: 3rem;
}

/* ─── Right Items (even) — text on the RIGHT ────────────── */
.timeline-item--right {
  justify-content: flex-end;
}

.timeline-item--right .timeline-content {
  text-align: left;
  padding-left: 3rem;
}

/* ─── Timeline Text ──────────────────────────────────────── */
.timeline-year {
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.2rem;
  font-weight: var(--fw-light);
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.timeline-desc {
  font-size: 0.85rem;
  font-weight: var(--fw-light);
  color: rgba(250, 250, 250, 0.45);
  line-height: 1.8;
}

/* ══════════════════════════════════════════════════════════
   6. CTA STRIP
══════════════════════════════════════════════════════════ */
.about-cta {
  padding: var(--space-xl) 0;
  background: #111111;
  position: relative;
  overflow: hidden;
}

/* Ambient radial glow */
.about-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Gold top border */
.about-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.about-cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.about-cta .section-subtitle {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */

/* ─── Tablet (≤1024px) ───────────────────────────────────── */
@media (max-width: 1024px) {
  .mission-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .mission-deco-quote {
    font-size: 8rem;
  }

  .mission-quote {
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  }

  .timeline {
    max-width: 680px;
  }
}

/* ─── Mobile Large (≤768px) ──────────────────────────────── */
@media (max-width: 768px) {
  /* Mission — stack vertically */
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .mission-left {
    order: 1;
  }

  .mission-right {
    order: 2;
  }

  .mission-deco-quote {
    font-size: 7rem;
    top: -1rem;
  }

  /* Timeline — collapse to single column */
  .timeline {
    max-width: 100%;
    padding-left: 2rem;
  }

  .timeline-line {
    left: 0;
    transform: none;
  }

  .timeline-item--left,
  .timeline-item--right {
    flex-direction: column;
    justify-content: flex-start;
  }

  .timeline-item--left .timeline-content,
  .timeline-item--right .timeline-content {
    width: 100%;
    text-align: left;
    padding-left: 2.5rem;
    padding-right: 0;
  }

  .timeline-dot {
    left: 0;
    top: 0.35rem;
    transform: none;
  }

  .timeline-item:hover .timeline-dot {
    transform: scale(1.5);
  }

  /* Values + Team — single column handled by global.css grid-3 */
  .value-card,
  .team-card {
    padding: 2rem;
  }

  /* About Mission */
  .about-mission {
    padding: 5rem 0;
  }

  /* CTA */
  .about-cta::before {
    width: 400px;
    height: 400px;
  }
}

/* ─── Mobile Small (≤480px) ──────────────────────────────── */
@media (max-width: 480px) {
  .mission-deco-quote {
    font-size: 5rem;
  }

  .mission-quote {
    font-size: 1.3rem;
  }

  .team-avatar {
    width: 110px;
    height: 110px;
  }

  .team-avatar-initials {
    font-size: 1.3rem;
  }

  .timeline-title {
    font-size: 1rem;
  }

  .timeline-year {
    font-size: 0.65rem;
  }
}
