/* ═══════════════════════════════════════
   TSC — PAGES.CSS
   Page-specific styles not in base.css
   The Sapientia Collective © 2026
═══════════════════════════════════════ */

/* ── HOME HERO ── */
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.hero-video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.3;
}
.hero-video-placeholder {
  width: 100%; height: 100%;
  background: var(--bg2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
}
.hero-video-placeholder span {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--dimmed); text-align: center; line-height: 1.8;
}

/* ── STAT COUNTER SECTION ── */
.big-stats {
  background: var(--bg3); padding: 0 52px;
}
.big-stats-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 2px; background: var(--border);
  border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; transform: translateY(-40px);
  box-shadow: 0 24px 80px rgba(15,28,77,0.08);
}
.big-stat {
  background: #fff; padding: 44px 32px; text-align: center;
  transition: background 0.3s;
}
.big-stat:hover { background: var(--bg2); }
.big-stat-num {
  font-family: var(--h); font-size: clamp(44px,5vw,72px);
  letter-spacing: -2px; color: var(--navy); line-height: 1; margin-bottom: 8px;
}
.big-stat-num span { color: var(--blue); }
.big-stat-label {
  font-family: var(--mono); font-size: 9px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--dimmed);
}

/* ── FOUNDER CARDS ── */
.founder-photo-box {
  width: 100%;
  background: var(--bg3);
  border: 2px dashed var(--border);
  border-radius: 16px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; position: relative; overflow: hidden;
}
.founder-photo-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--dimmed);
  text-align: center; padding: 0 16px;
}
.founder-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 20px; overflow: hidden; transition: all 0.3s;
}
.founder-card:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 48px rgba(59,91,219,0.10);
  transform: translateY(-4px);
}
.founder-card-body { padding: 32px 36px; }
.founder-role {
  font-family: var(--mono); font-size: 9px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 8px;
}
.founder-name {
  font-family: var(--h); font-size: 32px; text-transform: uppercase;
  letter-spacing: -0.5px; color: var(--navy); margin-bottom: 16px;
}
.founder-bio { font-size: 14px; color: var(--muted); line-height: 1.82; }

/* ── TIMELINE ── */
.tl-timeline { position: relative; padding: 48px 0; }
.tl-timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), rgba(59,91,219,0.1));
  transform: translateX(-50%);
}
.tl-item {
  display: grid; grid-template-columns: 1fr 48px 1fr;
  margin-bottom: 56px; position: relative;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-dot-col {
  grid-column: 2; display: flex; align-items: flex-start;
  justify-content: center; padding-top: 32px; position: relative; z-index: 2;
}
.tl-dot-inner {
  width: 20px; height: 20px; background: var(--blue); border-radius: 50%;
  border: 4px solid var(--bg); box-shadow: 0 0 0 3px var(--border);
  transition: all 0.3s; flex-shrink: 0;
}
.tl-item:hover .tl-dot-inner {
  background: var(--gold); box-shadow: 0 0 0 6px rgba(232,160,32,0.2);
  transform: scale(1.2);
}
.tl-content {
  background: #fff; border: 1.5px solid var(--border); border-radius: 14px;
  padding: 28px 32px; opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.23,1,0.32,1),
              transform 0.7s cubic-bezier(0.23,1,0.32,1),
              border-color 0.3s, box-shadow 0.3s;
}
.tl-content.in { opacity: 1; transform: none; }
.tl-item:hover .tl-content {
  border-color: var(--blue); box-shadow: 0 8px 32px rgba(59,91,219,0.10);
}
.tl-item.tl-left .tl-content { grid-column: 1; margin-right: 28px; text-align: right; }
.tl-item.tl-left .tl-dot-col { grid-column: 2; }
.tl-item.tl-left .tl-spacer { grid-column: 3; }
.tl-item.tl-right .tl-spacer { grid-column: 1; }
.tl-item.tl-right .tl-dot-col { grid-column: 2; }
.tl-item.tl-right .tl-content { grid-column: 3; margin-left: 28px; }
.tl-month {
  font-family: var(--mono); font-size: 9px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 8px;
}
.tl-title {
  font-family: var(--h); font-size: 22px; text-transform: uppercase;
  color: var(--navy); margin-bottom: 8px; letter-spacing: 0.5px;
}
.tl-text { font-size: 13px; color: var(--muted); line-height: 1.75; }
.tl-stat {
  font-family: var(--mono); font-size: 10px; letter-spacing: 1px;
  color: var(--blue); margin-top: 10px;
}
.tl-year { text-align: center; margin-bottom: 40px; position: relative; }
.tl-year-badge {
  display: inline-block; background: var(--navy); color: #fff;
  font-family: var(--h); font-size: 22px; letter-spacing: 2px;
  padding: 8px 24px; border-radius: 100px; position: relative; z-index: 2;
}
.tl-item.tl-left .tl-stat { text-align: right; }

/* ── POWER FILLER HEADS ── */
.power-headline-wrap { overflow: hidden; height: 26px; margin-bottom: 12px; }
.power-headline {
  font-family: var(--mono); font-size: 10px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--blue);
}
.power-headline.ph-active {
  animation: ph-slide 0.5s cubic-bezier(0.23,1,0.32,1) forwards;
}
@keyframes ph-slide {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ── RESPONSIVE ── */
@media(max-width:768px) {
  .big-stats { padding: 0 20px; }
  .big-stats-inner { grid-template-columns: 1fr 1fr; transform: translateY(-20px); }
  .tl-timeline::before { left: 20px; }
  .tl-item { grid-template-columns: 40px 1fr; gap: 0 16px; }
  .tl-item.tl-left .tl-content,
  .tl-item.tl-right .tl-content { grid-column: 2; margin: 0; text-align: left; }
  .tl-item.tl-left .tl-dot-col,
  .tl-item.tl-right .tl-dot-col { grid-column: 1; justify-content: flex-start; padding-left: 8px; }
  .tl-item.tl-left .tl-spacer,
  .tl-item.tl-right .tl-spacer { display: none; }
  .tl-item.tl-left .tl-stat { text-align: left; }
  .founder-card-body { padding: 24px 20px; }
}
@media(max-width:480px) {
  .big-stats-inner { grid-template-columns: 1fr; }
}
