/* ============================================================
   EXPERIENCE SECTION
============================================================ */
.experience {
  padding: 0 0 120px;
}

.experience__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 16px;
}
.experience__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}
.experience__title em {
  font-style: italic;
  color: var(--purple-light);
}

.experience__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Each experience row */
.exp-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0 28px;
}

.exp-item__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.exp-item__logo {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--purple-light);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.exp-item__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exp-item__line {
  width: 1px;
  flex: 1;
  min-height: 32px;
  background: linear-gradient(to bottom, var(--border), transparent);
  margin-top: 8px;
}
.exp-item:last-child .exp-item__line {
  display: none;
}

.exp-item__body {
  padding-bottom: 48px;
}
.exp-item:last-child .exp-item__body {
  padding-bottom: 0;
}

.exp-item__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  min-height: 48px;
}

.exp-item__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.exp-item__role {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.exp-item__company {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-size: 14px;
  font-weight: 500;
  color: var(--purple-light);
  text-decoration: none;
}

.exp-item__company:hover {
  text-decoration: underline;
}

.exp-item__company svg {
  flex-shrink: 0;
}

.exp-item__period {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.exp-item__desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.78;
  max-width: 800px;
  margin-bottom: 16px;
}
.exp-item__desc strong { color: var(--text); font-weight: 600; }
.exp-item__desc a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--border-glow);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}
.exp-item__desc a:hover { text-decoration-color: var(--purple-light); }

.exp-item__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ---- Project marquee strip -------------------------------- */
.exp-marquee {
  margin-top: 72px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.exp-marquee__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: expMarquee 35s linear infinite;
  will-change: transform;
}


.exp-marquee__item {
  width: 380px;
  height: 260px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.exp-marquee__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  pointer-events: none;
}

@keyframes expMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
