/* ============================================================
   AUVELO — pages/experience.css
   Background: Vertical Meridian Lines + Orbital Canvas + Scroll Spine
   ============================================================ */

.nav__logo-mark img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 50%;
}

/* Unique Page Background: Vertical Architectural Meridian Columns */
.bg-vertical-meridians {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.032) 0px,
    rgba(255, 255, 255, 0.032) 1px,
    transparent 1px,
    transparent 120px
  );
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

/* ============================================================
   EXPERIENCE HERO
   ============================================================ */
.exp-hero {
  position: relative;
  padding: 150px 0 var(--sp-2xl);
  overflow: hidden;
}

.exp-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.exp-container {
  position: relative;
  z-index: 2;
}

.exp-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--grey-c8);
  margin-bottom: 24px;
}

.exp-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 10px #ffffff;
}

.exp-hero-title {
  font-size: var(--text-5xl);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
  max-width: 760px;
}

.exp-hero-title strong {
  display: block;
  font-weight: 700;
  color: var(--white);
}

.exp-hero-title span {
  display: block;
  font-weight: 300;
  color: var(--grey-78);
}

.exp-hero-desc {
  font-size: var(--text-md);
  color: var(--grey-9a);
  line-height: 1.72;
  max-width: 540px;
}

/* ============================================================
   SCROLL-DRIVEN LUMINOUS TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 0;
}

.timeline-track {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 0%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.35), #ffffff);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.5);
  z-index: 1;
}

.tl-item {
  display: flex;
  margin-bottom: var(--sp-3xl);
  position: relative;
}

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

.tl-item:nth-child(odd) {
  padding-right: calc(50% + 42px);
}

.tl-item:nth-child(even) {
  padding-left: calc(50% + 42px);
  justify-content: flex-end;
}

.tl-dot {
  position: absolute;
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--black);
  border: 2px solid rgba(255, 255, 255, 0.35);
  z-index: 2;
  transition: all 0.3s var(--ease-out);
}

.tl-item:hover .tl-dot {
  background: var(--white);
  border-color: var(--white);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.85);
  transform: translateX(-50%) scale(1.25);
}

.tl-card {
  width: 100%;
  border-radius: 22px;
  padding: 28px;
  background: linear-gradient(
    145deg,
    rgba(22, 22, 22, 0.7) 0%,
    rgba(10, 10, 10, 0.85) 100%
  );
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  position: relative;
  transition: transform 0.32s var(--ease-out), border-color 0.32s;
}

.tl-item:hover .tl-card {
  transform: translateY(-4px);
  border-color: var(--glass-border-strong);
}

.tl-date {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--white-e8);
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}

.tl-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.tl-company {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--grey-78);
  margin-bottom: 14px;
}

.tl-desc {
  font-size: var(--text-sm);
  color: var(--grey-9a);
  line-height: 1.72;
  margin-bottom: 18px;
}

.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tl-tags .tag {
  padding: 4px 11px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--grey-c8);
}

/* ============================================================
   EDUCATION & CERTIFICATIONS GLASS CARDS
   ============================================================ */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.edu-cell,
.cert-cell {
  border-radius: 20px;
  padding: 24px;
  background: linear-gradient(
    145deg,
    rgba(22, 22, 22, 0.66) 0%,
    rgba(10, 10, 10, 0.82) 100%
  );
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  display: flex;
  gap: 18px;
  align-items: center;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.edu-cell:hover,
.cert-cell:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-strong);
}

.edu-icon,
.cert-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.edu-degree,
.cert-name {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}

.edu-school,
.cert-issuer {
  font-size: 0.8rem;
  color: var(--grey-9a);
}

.edu-year {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--grey-55);
  margin-top: 4px;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 960px) {
  .timeline-track,
  .timeline-progress {
    left: 20px;
  }

  .tl-item:nth-child(odd),
  .tl-item:nth-child(even) {
    padding: 0 0 0 54px;
    justify-content: flex-start;
  }

  .tl-dot {
    left: 20px;
  }

  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .exp-hero {
    padding: 120px 0 var(--sp-xl);
  }

  .edu-grid,
  .certs-grid {
    grid-template-columns: 1fr;
  }
}