/* ============================================
   jagmindersingh.com — Experience Page Styles
   Hero canvas, impact strip, vertical timeline,
   narrative cards, leadership, perspectives,
   education story format
   ============================================ */

/* --- Experience Hero --- */
.exp-hero {
  padding: calc(var(--nav-h) + var(--sp-9)) 0 var(--sp-7);
  position: relative;
  overflow: hidden;
}

.exp-hero__title {
  max-width: 650px;
}

/* Particle network canvas */
.exp-hero__canvas-wrap {
  position: absolute;
  right: 0;
  top: 0;
  width: 55%;
  height: 100%;
  pointer-events: none;
}

.exp-hero__canvas {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 768px) {
  .exp-hero {
    display: flex;
    flex-direction: column;
    overflow: visible;
  }
  .exp-hero__canvas-wrap {
    position: relative;
    width: 100%;
    height: 280px;
    right: auto;
    top: auto;
    margin-top: var(--sp-5);
  }
}

/* --- Impact at a Glance --- */
.impact-strip {
  background: #0d0b09;
  padding: var(--sp-9) 0;
}

.impact-strip__label {
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.2em;
  font-size: 0.625rem;
  margin-bottom: var(--sp-7);
  display: block;
}

.impact-strip__track {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.impact-strip__row {
  display: grid;
  gap: 20px;
}

.impact-strip__row--top {
  grid-template-columns: repeat(4, 1fr);
}

.impact-strip__row--bottom {
  grid-template-columns: repeat(3, 1fr);
  max-width: 75%;
  margin: 0 auto;
  width: 100%;
}

.impact-strip__item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  cursor: default;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1),
              border-color 0.4s ease,
              box-shadow 0.4s ease,
              background 0.4s ease;
  will-change: transform;
  min-height: 140px;
  justify-content: center;
}

.impact-strip__item:hover {
  border-color: rgba(212,98,42,0.35);
  background: rgba(212,98,42,0.04);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4),
              0 0 0 1px rgba(212,98,42,0.1),
              inset 0 1px 0 rgba(255,255,255,0.05);
}

.impact-strip__num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 700;
  color: #d4622a;
  line-height: 1;
  letter-spacing: -0.03em;
  transition: color 0.3s ease;
}

.impact-strip__item:hover .impact-strip__num {
  color: #e8845a;
}

.impact-strip__label-text {
  font-family: var(--font-body);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  line-height: 1.5;
  transition: color 0.3s ease;
}

.impact-strip__item:hover .impact-strip__label-text {
  color: rgba(255,255,255,0.5);
}

@media (max-width: 900px) {
  .impact-strip__row--top {
    grid-template-columns: repeat(2, 1fr);
  }
  .impact-strip__row--bottom {
    grid-template-columns: repeat(2, 1fr);
    max-width: 50%;
  }
}

@media (max-width: 600px) {
  .impact-strip__row--top,
  .impact-strip__row--bottom {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    margin: 0;
  }
}

/* --- Vertical Alternating Timeline --- */
.timeline {
  padding: var(--sp-9) 0;
  background: #f0ece8;
}

.timeline__header {
  margin-bottom: var(--sp-8);
}

.timeline__arc {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--sp-6) 0;
}

/* Central vertical line */
.timeline__arc::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(15,14,13,0.1);
  transform: translateX(-50%);
}

/* Each step */
.timeline__step {
  position: relative;
  width: 50%;
  padding-bottom: var(--sp-8);
}

/* Left-aligned steps */
.timeline__step--left {
  padding-right: var(--sp-8);
  text-align: right;
}

/* Right-aligned steps */
.timeline__step--right {
  margin-left: 50%;
  padding-left: var(--sp-8);
  text-align: left;
}

/* Dot on the line */
.timeline__dot {
  position: absolute;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(15,14,13,0.2);
  z-index: 2;
}

.timeline__step--left .timeline__dot {
  right: -5px;
}

.timeline__step--right .timeline__dot {
  left: -5px;
}

/* Active (current) dots filled with accent */
.timeline__dot--active {
  background: #d4622a;
  border-color: #d4622a;
  box-shadow: 0 0 0 4px rgba(212,98,42,0.15);
}

/* Ghost year behind the step */
.timeline__ghost {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  color: rgba(15,14,13,0.05);
  line-height: 1;
  margin-bottom: var(--sp-2);
  pointer-events: none;
  user-select: none;
}

.timeline__content {
  position: relative;
}

.timeline__label {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(15,14,13,0.35);
  margin-bottom: var(--sp-2);
  display: block;
}

.timeline__label--current {
  color: #d4622a;
}

.timeline__role {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: var(--sp-1);
  line-height: 1.3;
}

.timeline__company {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
}

.timeline__context {
  font-size: 0.8125rem;
  color: rgba(15,14,13,0.5);
  line-height: 1.6;
  font-style: italic;
}

.timeline__badge {
  display: inline-block;
  margin-top: var(--sp-3);
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #d4622a;
  background: rgba(212,98,42,0.08);
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  text-transform: uppercase;
}

/* Mobile: stack vertically, all left-aligned */
@media (max-width: 768px) {
  .timeline__arc::before {
    left: 14px;
  }

  .timeline__step,
  .timeline__step--left,
  .timeline__step--right {
    width: 100%;
    margin-left: 0;
    padding-left: var(--sp-8);
    padding-right: 0;
    text-align: left;
  }

  .timeline__step--left .timeline__dot,
  .timeline__step--right .timeline__dot {
    left: 9px;
    right: auto;
  }

  .timeline__ghost {
    font-size: 2rem;
  }
}

/* --- Role Cards (Accordion) --- */
.roles {
  padding: var(--sp-9) 0;
}

.roles__header {
  margin-bottom: var(--sp-8);
}

.roles__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  max-width: 900px;
}

.role-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}

.role-card:hover {
  border-color: var(--border-hover);
}

.role-card.active {
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.role-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  cursor: pointer;
  gap: var(--sp-4);
  user-select: none;
}

.role-card__header:hover {
  background: rgba(0,0,0,0.015);
}

.role-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.role-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
}

.role-card__company-line {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  display: block;
}

.role-card__period {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text-light);
  white-space: nowrap;
  margin-top: 0.125rem;
}

.role-card__toggle {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  margin-top: 0.375rem;
}

.role-card__toggle::before,
.role-card__toggle::after {
  content: '';
  position: absolute;
  background: var(--text-muted);
  transition: transform var(--dur) var(--ease-out);
}

.role-card__toggle::before {
  width: 14px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.role-card__toggle::after {
  width: 1.5px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.role-card.active .role-card__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.role-card__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur) var(--ease-out);
}

.role-card__body-inner {
  padding: 0 var(--sp-6) var(--sp-6);
}

/* Context hook — italic opening line */
.role-card__context-hook {
  font-size: 0.9375rem;
  font-style: italic;
  color: rgba(15,14,13,0.5);
  line-height: 1.6;
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(15,14,13,0.06);
  margin-bottom: var(--sp-4);
}

/* Narrative paragraphs */
.role-card__narrative {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.role-card__para {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* Stats row */
.role-card__stats {
  display: flex;
  gap: var(--sp-6);
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(15,14,13,0.06);
  flex-wrap: wrap;
}

.role-card__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.role-card__stat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #d4622a;
  line-height: 1;
  letter-spacing: -0.02em;
}

.role-card__stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(15,14,13,0.45);
}

/* --- Leadership Approach --- */
.leadership__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.leadership__card {
  padding: var(--sp-7);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: background 280ms ease,
              border-color 280ms ease;
}

.leadership__card:hover {
  background: rgba(255,248,243,0.85);
  border-color: rgba(212,98,42,0.15);
}

.leadership__card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4622a, rgba(212,98,42,0.3));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 380ms cubic-bezier(0.16,1,0.3,1);
}

.leadership__card:hover::after {
  transform: scaleX(1);
}

.leadership__card-num {
  position: absolute;
  top: var(--sp-5);
  right: var(--sp-5);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(15,14,13,0.04);
  line-height: 1;
  letter-spacing: -0.04em;
  transition: font-size 280ms cubic-bezier(0.16,1,0.3,1),
              color 280ms ease;
}

.leadership__card:hover .leadership__card-num {
  font-size: 5rem;
  color: rgba(212,98,42,0.07);
}

.leadership__card-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: var(--sp-4);
  letter-spacing: -0.01em;
  transition: color 280ms ease;
}

.leadership__card:hover .leadership__card-title {
  color: #d4622a;
}

.leadership__card-body {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
}

.leadership__card-proof {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #d4622a;
  letter-spacing: 0.03em;
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(15,14,13,0.06);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 280ms ease,
              max-height 280ms ease;
}

.leadership__card:hover .leadership__card-proof {
  opacity: 1;
  max-height: 60px;
}

@media (max-width: 900px) {
  .leadership__grid {
    grid-template-columns: 1fr;
  }
}

/* --- Perspectives (What I'm Thinking About) --- */
.perspectives {
  position: relative;
  overflow: hidden;
}

/* Drifting background glows */
.perspectives::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196,150,42,0.09) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: perspGlow1 16s ease-in-out infinite alternate;
}

.perspectives::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212,98,42,0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: perspGlow2 20s ease-in-out infinite alternate;
}

@keyframes perspGlow1 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(80px, 60px); }
}

@keyframes perspGlow2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-60px, -40px); }
}

.perspectives__header {
  position: relative;
  z-index: 1;
}

.perspectives__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-rows: 440px;
  gap: 16px;
  align-items: stretch;
  position: relative;
  z-index: 1;
  /* Collapse transition: 0.2s delay bridges the gap between cards */
  transition: grid-template-columns 0.45s cubic-bezier(0.16,1,0.3,1) 0.2s;
}

.perspectives__grid:has(.perspectives__card:nth-child(1):hover) {
  grid-template-columns: 2.6fr 0.7fr 0.7fr;
  transition: grid-template-columns 0.55s cubic-bezier(0.16,1,0.3,1);
}

.perspectives__grid:has(.perspectives__card:nth-child(2):hover) {
  grid-template-columns: 0.7fr 2.6fr 0.7fr;
  transition: grid-template-columns 0.55s cubic-bezier(0.16,1,0.3,1);
}

.perspectives__grid:has(.perspectives__card:nth-child(3):hover) {
  grid-template-columns: 0.7fr 0.7fr 2.6fr;
  transition: grid-template-columns 0.55s cubic-bezier(0.16,1,0.3,1);
}

.perspectives__card {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 36px 32px 32px;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  transition: border-color 0.4s ease,
              box-shadow 0.5s ease,
              background 0.4s ease;
}

.perspectives__card:hover {
  border-color: rgba(212,98,42,0.35);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 1px rgba(212,98,42,0.1),
              0 16px 48px rgba(0,0,0,0.3),
              inset 0 0 60px rgba(212,98,42,0.03);
}

/* Ghost number */
.perspectives__card::before {
  content: attr(data-index);
  position: absolute;
  bottom: -20px;
  right: -8px;
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  user-select: none;
  transition: color 0.4s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
  z-index: 0;
  white-space: nowrap;
}

.perspectives__card:hover::before {
  color: rgba(255,255,255,0.06);
  transform: translateY(-8px) scale(1.05);
}

/* Scan-line sweep */
.perspectives__card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.03) 50%,
    transparent 100%
  );
  transition: left 0.6s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
  z-index: 0;
}

.perspectives__card:hover::after {
  left: 150%;
}

/* Top accent bar */
.perspectives__card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #d4622a, #e6a832);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
  border-radius: 16px 16px 0 0;
  z-index: 2;
}

.perspectives__card:hover .perspectives__card-accent {
  transform: scaleX(1);
}

/* Label */
.perspectives__card-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d4622a;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  transition: text-shadow 0.4s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.perspectives__card:hover .perspectives__card-label {
  text-shadow: 0 0 20px rgba(212,98,42,0.5);
  white-space: normal;
  overflow: visible;
}

/* Title */
.perspectives__card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
  margin-bottom: 0;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
  padding-bottom: 0;
  border-bottom: none;
}

.perspectives__card:hover .perspectives__card-title {
  color: #ffffff;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.3s ease,
              padding-bottom 0.4s ease 0.1s,
              border-bottom 0.4s ease 0.1s;
}

/* Body — hidden by default, revealed on hover via opacity + max-height */
.perspectives__card-body {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  max-height: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.5s cubic-bezier(0.16,1,0.3,1) 0.1s,
              opacity 0.35s ease 0.2s,
              margin-top 0.4s ease 0.1s;
  /* Prevent text wrapping before card has expanded enough */
  min-width: 220px;
}

.perspectives__card:hover .perspectives__card-body {
  max-height: 300px;
  opacity: 1;
  margin-top: 20px;
}

/* Takeaway */
.perspectives__card-takeaway {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  font-style: italic;
  color: rgba(212,98,42,0.85);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  line-height: 1.5;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease 0.3s,
              transform 0.3s ease 0.3s;
  position: relative;
  z-index: 1;
  min-width: 220px;
}

.perspectives__card:hover .perspectives__card-takeaway {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile — stack vertically */
@media (max-width: 900px) {
  .perspectives__grid {
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto;
    transition: none;
  }

  .perspectives__card-body {
    min-width: unset;
  }

  .perspectives__card-takeaway {
    min-width: unset;
  }
}

/* --- Education & Certs — Story Format --- */
.education {
  padding: var(--sp-9) 0;
}

.education__header {
  margin-bottom: var(--sp-8);
}

.edu__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: start;
}

.edu__degree-card {
  padding: var(--sp-6);
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(15,14,13,0.06);
  border-radius: 16px;
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.edu__degree-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.edu__degree-card--featured {
  border-color: rgba(212,98,42,0.2);
  background: rgba(255,255,255,0.92);
}

.edu__degree-card--featured::before {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: #d4622a;
  border-radius: 2px;
  margin-bottom: var(--sp-4);
}

.edu__degree-year {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #d4622a;
  margin-bottom: var(--sp-3);
  text-transform: uppercase;
}

.edu__degree-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.edu__degree-sub {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
}

.edu__degree-inst {
  font-size: 0.8125rem;
  color: rgba(15,14,13,0.4);
  margin-bottom: var(--sp-4);
}

.edu__degree-story {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
  border-top: 1px solid rgba(15,14,13,0.06);
  padding-top: var(--sp-4);
  font-style: italic;
}

.edu__degree-connector {
  width: 1px;
  height: 2rem;
  background: rgba(15,14,13,0.1);
  margin: var(--sp-2) 0 var(--sp-2) var(--sp-6);
}

/* Cert list */
.edu__cert-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.edu__cert {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid rgba(15,14,13,0.06);
  transition: padding 200ms ease, border-left 200ms ease;
}

.edu__cert:last-child {
  border-bottom: none;
}

.edu__cert:hover {
  padding-left: var(--sp-3);
  border-left: 2px solid #d4622a;
}

.edu__cert-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.edu__cert-status--active {
  background: #38a169;
}

.edu__cert-content {
  flex: 1;
}

.edu__cert-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}

.edu__cert-body {
  font-size: 0.75rem;
  color: rgba(15,14,13,0.4);
  margin-top: 0.125rem;
}

.edu__cert-badge {
  font-family: 'Inter', sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #38a169;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .edu__split {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
}

/* --- Experience CTA Section --- */
.exp-cta {
  background: transparent;
  padding: var(--sp-10) 0;
  position: relative;
  overflow: hidden;
}



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

.exp-cta .label {
  color: var(--text-light);
}

.exp-cta .display-md {
  color: var(--text);
}

.exp-cta__sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 1.25rem auto 0;
  line-height: 1.7;
}

.exp-cta__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: var(--sp-7);
  flex-wrap: wrap;
}

/* Primary CTA button — accent orange */
.btn--cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: #d4622a;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.3s ease,
              background 0.3s ease;
}

.btn--cta-primary:hover {
  transform: translateY(-3px);
  background: #e06d35;
  box-shadow: 0 8px 28px rgba(212,98,42,0.35),
              0 0 0 1px rgba(212,98,42,0.15);
}

/* LinkedIn CTA button — LinkedIn blue */
.btn--cta-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: #0077b5;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.3s ease,
              background 0.3s ease;
}

.btn--cta-linkedin:hover {
  transform: translateY(-3px);
  background: #0088cc;
  box-shadow: 0 8px 28px rgba(0,119,181,0.35),
              0 0 0 1px rgba(0,119,181,0.15);
}

.btn--cta-linkedin__icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.btn--cta-linkedin:hover .btn--cta-linkedin__icon {
  transform: scale(1.1);
}

/* Mobile: stack buttons vertically */
@media (max-width: 600px) {
  .exp-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn--cta-primary,
  .btn--cta-linkedin {
    justify-content: center;
    width: 100%;
  }
}

/* --- Timeline Detail Card --- */
.timeline__detail-card {
  position: absolute;
  width: calc(50% - 3rem);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(212,98,42,0.2);
  border-radius: 14px;
  padding: 28px 28px 24px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.08), 0 0 0 1px rgba(212,98,42,0.06);
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.35s cubic-bezier(0.16,1,0.3,1),
              transform 0.35s cubic-bezier(0.16,1,0.3,1),
              top 0.4s cubic-bezier(0.16,1,0.3,1);
  z-index: 10;
  backdrop-filter: blur(8px);
}

.timeline__detail-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.timeline__detail-card--left {
  left: 0;
}

.timeline__detail-card--right {
  right: 0;
}

.timeline__detail-card__label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

.timeline__detail-card__role {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 4px;
}

.timeline__detail-card__company {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.timeline__detail-card__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(15,14,13,0.06);
  padding-top: 14px;
}

.timeline__detail-card__bullets li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}

.timeline__detail-card__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

.timeline__detail-card__close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 16px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  background: none;
  border: none;
  transition: color 0.2s ease;
}

.timeline__detail-card__close:hover {
  color: var(--accent);
}

/* Highlight the active timeline step */
.timeline__step--active .timeline__role {
  color: var(--accent);
}

.timeline__step--active .timeline__dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 5px rgba(212,98,42,0.12);
}

/* Hide on mobile — not enough space */
@media (max-width: 768px) {
  .timeline__detail-card {
    display: none;
  }
}

/* --- Timeline Mobile Expand --- */
.timeline__step-expand {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 400ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 200ms ease 100ms;
}
.timeline__step-expand.is-open {
  max-height: 300px;
  opacity: 1;
}
.timeline__step-expand-inner {
  border-top: 1px solid rgba(15,14,13,0.06);
  padding-top: 1rem;
  margin-top: 1rem;
}
.timeline__step-expand-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  color: rgba(15,14,13,0.6);
  line-height: 1.5;
}
.timeline__step-expand-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #d4622a;
  flex-shrink: 0;
  margin-top: 0.45rem;
}
.timeline__step-expand-toggle {
  display: none;
  margin-top: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  color: #d4622a;
  letter-spacing: 0.04em;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
@media (max-width: 768px) {
  .timeline__step-expand-toggle { display: block; }
}
@media (min-width: 769px) {
  .timeline__step-expand { display: none; }
}
