/* ================================================================
   TITLE HQ — Who We Are (About) Page Styles
   Page-specific styles only. Matches /reference/about_download.html.
   ================================================================ */

/* ── TIMELINE ── */
.timeline-section {
  padding: 80px 0 88px;
  background: var(--warm-white);
}

.timeline-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.timeline-header h2 { margin-bottom: 12px; }
.timeline-header p { color: var(--text-body); font-size: 0.95rem; }

.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--stone) 5%, var(--stone) 95%, transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  gap: 0;
  margin-bottom: 48px;
  align-items: start;
  position: relative;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-item:nth-child(odd)  .timeline-content { grid-column: 1; text-align: right; padding-right: 36px; }
.timeline-item:nth-child(odd)  .timeline-spacer  { grid-column: 3; }
.timeline-item:nth-child(even) .timeline-content { grid-column: 3; text-align: left;  padding-left: 36px; }
.timeline-item:nth-child(even) .timeline-spacer  { grid-column: 1; }

.timeline-node {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.timeline-dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  flex-shrink: 0;
  position: relative;
}
.timeline-dot::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--teal-light);
  transition: var(--transition);
}
.timeline-item.active .timeline-dot,
.timeline-dot:hover {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(24,121,128,0.12);
}
.timeline-item.active .timeline-dot::after,
.timeline-dot:hover::after {
  background: var(--teal);
}

.timeline-year {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-top: 8px;
  text-align: center;
}

.timeline-content { padding-top: 10px; transition: var(--transition); }

.timeline-content-inner {
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: inline-block;
  max-width: 340px;
  text-align: left;
}
.timeline-item:nth-child(odd) .timeline-content-inner { margin-left: auto; }
.timeline-content-inner:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal-light);
  transform: translateY(-2px);
}

.timeline-item-year {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 6px;
}

.timeline-content-inner h3 {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.4;
}
.timeline-content-inner p {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.65;
  margin: 0;
}

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--teal);
  padding: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: center;
}

.stat-item {
  padding: 8px 24px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ── TODAY SECTION (with values) ── */
.today-section {
  background: var(--sand);
  padding: 80px 0;
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}

.today-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.today-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.today-photo img { width: 100%; height: 100%; object-fit: cover; }

.today-body { display: flex; flex-direction: column; gap: 20px; }
.today-body h2 { margin-bottom: 4px; }
.today-body p { color: var(--text-body); font-size: 0.95rem; line-height: 1.8; }

.today-cta { width: fit-content; }

.values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.value-chip {
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: center;
}
.value-chip-icon {
  width: 36px; height: 36px;
  background: var(--teal-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  margin: 0 auto 8px;
}
.value-chip p { font-size: 0.75rem; font-weight: 600; color: var(--text-dark); margin: 0; }

/* ── LEADERSHIP TEAM ── */
.team-section {
  padding: 80px 0 88px;
  background: var(--warm-white);
}

.team-header {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 48px;
}
.team-header h2 { margin-bottom: 10px; }
.team-header p { color: var(--text-body); font-size: 0.93rem; }

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.leader-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stone);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}
.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-light);
}

.leader-photo {
  aspect-ratio: 1;
  background: var(--sand);
  position: relative;
  overflow: hidden;
}
.leader-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; min-height: 200px;
}
.leader-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
}

.leader-card-body { padding: 20px 20px 22px; }

.leader-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.leader-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.leader-bio-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  border: 1.5px solid var(--teal-light);
  border-radius: 100px;
  padding: 7px 16px;
  transition: var(--transition);
  background: var(--teal-light);
}
.leader-card:hover .leader-bio-btn {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

/* ── BIO MODALS ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(35,42,48,0.55);
  backdrop-filter: blur(3px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: #fff;
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(42,50,64,0.22);
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--stone);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
  border-radius: 20px 20px 0 0;
}

.modal-leader-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
}

.modal-header-text { flex: 1; }
.modal-header h3 { font-size: 1.2rem; color: var(--text-dark); margin-bottom: 3px; }
.modal-header-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

.modal-close {
  background: var(--sand);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-body);
  flex-shrink: 0;
  transition: var(--transition);
}
.modal-close:hover { background: var(--stone); }

.modal-body { padding: 24px 28px 32px; }
.modal-body p { font-size: 0.93rem; color: var(--text-body); line-height: 1.8; margin-bottom: 14px; }
.modal-body p:last-child { margin-bottom: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .today-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:last-child { border-bottom: none; }
  .timeline::before { left: 24px; }
  .timeline-item { grid-template-columns: 48px 1fr; gap: 0; }
  .timeline-item:nth-child(odd)  .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
    text-align: left;
    padding-left: 24px;
    padding-right: 0;
  }
  .timeline-item:nth-child(odd)  .timeline-spacer,
  .timeline-item:nth-child(even) .timeline-spacer { display: none; }
  .timeline-item:nth-child(odd)  .timeline-node,
  .timeline-item:nth-child(even) .timeline-node { grid-column: 1; }
  .timeline-content-inner { max-width: 100%; margin-left: 0 !important; }
  .timeline-dot { width: 40px; height: 40px; }
  .leadership-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: 1fr; max-width: 340px; }
  .values-row { grid-template-columns: 1fr 1fr; }
}
