.experience-section {
  position: relative;
  min-height: 100svh;
  padding: clamp(112px, 12vh, 150px) 0 clamp(88px, 10vh, 132px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 28% 18%, rgb(135 32 101 / .13), transparent 34%),
    radial-gradient(ellipse at 72% 18%, rgb(119 255 37 / .08), transparent 28%),
    linear-gradient(180deg, #07080b, #090a0e 58%, #060709);
  border-top: 1px solid rgb(255 255 255 / .08);
}

.experience-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image:
    linear-gradient(rgb(255 255 255 / .025) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000, transparent 88%);
}

.experience-shell {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100vw - 72px));
  margin-inline: auto;
}

.experience-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: clamp(34px, 5vh, 58px);
}

.experience-heading h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #f3f2eb;
  font: 800 clamp(28px, 3vw, 46px)/1 var(--font-display);
  letter-spacing: 0;
}

.experience-heading h2 span {
  color: var(--lime);
  font-size: .72em;
}

.experience-heading p,
.experience-index {
  margin: 8px 0 0;
  color: #77797f;
  font: 700 11px/1.2 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.experience-main {
  display: grid;
  grid-template-columns: minmax(300px, 410px) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 92px);
  align-items: stretch;
}

.experience-avatar {
  --profile-rx: 0deg;
  --profile-ry: 0deg;
  position: relative;
  min-height: 438px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .14);
  border-radius: 8px;
  background: #17191d;
  box-shadow: 0 28px 90px rgb(0 0 0 / .38);
  transform: perspective(1100px) rotateX(var(--profile-rx)) rotateY(var(--profile-ry));
  transform-style: preserve-3d;
  transition: transform .22s ease, border-color .3s ease;
}

.experience-avatar:hover {
  border-color: rgb(183 255 39 / .38);
}

.experience-avatar img {
  width: 100%;
  height: 100%;
  min-height: 438px;
  display: block;
  object-fit: cover;
  object-position: 49% 54%;
  filter: saturate(.72) contrast(1.04) brightness(.82);
  transform: scale(1.06);
}

.experience-avatar-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 48%, rgb(5 6 8 / .82) 100%),
    linear-gradient(90deg, rgb(5 6 8 / .16), transparent 48%);
  pointer-events: none;
}

.experience-avatar figcaption {
  position: absolute;
  z-index: 3;
  left: 22px;
  right: 22px;
  bottom: 20px;
}

.experience-avatar figcaption span {
  display: block;
  margin-bottom: 6px;
  color: var(--lime);
  font: 700 9px/1 var(--font-mono);
  letter-spacing: .12em;
}

.experience-avatar figcaption strong {
  color: #fff;
  font-size: 17px;
}

.experience-glare {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 35%), rgb(255 255 255 / .14), transparent 42%);
  opacity: var(--glare-opacity, 0);
  transition: opacity .2s ease;
}

.experience-info {
  min-width: 0;
  padding-top: 8px;
}

.experience-kicker {
  display: block;
  color: var(--lime);
  font: 800 10px/1 var(--font-mono);
  letter-spacing: .12em;
}

.experience-intro h3 {
  margin: 12px 0 16px;
  color: #f5f4ed;
  font: 800 clamp(36px, 4vw, 62px)/.96 var(--font-display);
  letter-spacing: 0;
}

.experience-intro h3 span {
  color: var(--lime);
}

.experience-intro p {
  max-width: 72ch;
  margin: 0;
  color: #85878e;
  font-size: 14px;
  line-height: 1.82;
}

.experience-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 30px 0 0;
  border-top: 1px solid rgb(255 255 255 / .1);
}

.experience-facts div {
  min-width: 0;
  padding: 16px 18px 17px 0;
  border-bottom: 1px solid rgb(255 255 255 / .1);
}

.experience-facts div:nth-child(odd) {
  border-right: 1px solid rgb(255 255 255 / .1);
}

.experience-facts div:nth-child(even) {
  padding-left: 24px;
}

.experience-facts dt {
  margin-bottom: 7px;
  color: #686b72;
  font: 700 10px/1 var(--font-mono);
}

.experience-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #e8e8e2;
  font-size: 14px;
  font-weight: 700;
}

.experience-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgb(255 255 255 / .1);
}

.experience-stats div {
  padding: 20px 18px 20px 0;
}

.experience-stats strong {
  display: block;
  margin-bottom: 7px;
  color: var(--lime);
  font: 800 clamp(30px, 3.2vw, 48px)/1 var(--font-display);
  letter-spacing: 0;
}

.experience-stats span {
  color: #6f7178;
  font-size: 11px;
}

.experience-skills {
  margin-top: 26px;
}

.experience-skills > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.experience-skills > div span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgb(255 255 255 / .12);
  border-radius: 999px;
  color: #8d9096;
  font-size: 11px;
}

.career-block {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 30px;
  margin-top: clamp(64px, 9vh, 100px);
}

.career-label span {
  display: block;
  margin-bottom: 9px;
  color: #5e6168;
  font: 700 9px/1 var(--font-mono);
  letter-spacing: .1em;
}

.career-label strong {
  color: #a4a6aa;
  font-size: 14px;
}

.career-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 60px);
}

.career-timeline::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--lime), rgb(183 255 39 / .18));
}

.career-timeline article {
  position: relative;
  padding-top: 30px;
}

.career-timeline article::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 18px rgb(183 255 39 / .7);
}

.career-timeline time {
  color: var(--lime);
  font: 700 10px/1 var(--font-mono);
}

.career-timeline h4 {
  margin: 13px 0 9px;
  color: #e5e5df;
  font-size: 15px;
}

.career-timeline article > span {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 9px;
  border: 1px solid rgb(183 255 39 / .22);
  border-radius: 999px;
  color: #a8cc6d;
  font-size: 10px;
}

.career-timeline p {
  margin: 0;
  color: #666970;
  font-size: 11px;
  line-height: 1.72;
}

@media (max-width: 900px) {
  .experience-shell {
    width: min(760px, calc(100vw - 40px));
  }

  .experience-main {
    grid-template-columns: minmax(250px, .72fr) 1.28fr;
    gap: 34px;
  }

  .experience-avatar,
  .experience-avatar img {
    min-height: 390px;
  }

  .experience-intro h3 {
    font-size: 38px;
  }

  .career-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 680px) {
  .experience-section {
    padding: 92px 0 78px;
  }

  .experience-shell {
    width: calc(100vw - 32px);
  }

  .experience-heading {
    align-items: flex-start;
  }

  .experience-heading h2 {
    max-width: 10ch;
    font-size: 30px;
    line-height: 1.04;
  }

  .experience-index {
    margin-top: 3px;
  }

  .experience-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .experience-avatar,
  .experience-avatar img {
    min-height: 430px;
  }

  .experience-info {
    padding-top: 0;
  }

  .experience-intro h3 {
    font-size: 42px;
  }

  .experience-facts {
    grid-template-columns: 1fr;
  }

  .experience-facts div:nth-child(odd) {
    border-right: 0;
  }

  .experience-facts div:nth-child(even) {
    padding-left: 0;
  }

  .experience-stats div {
    padding-right: 8px;
  }

  .experience-stats strong {
    font-size: 29px;
  }

  .experience-stats span {
    display: block;
    max-width: 9ch;
    line-height: 1.5;
  }

  .career-timeline {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-left: 22px;
  }

  .career-timeline::before {
    top: 0;
    bottom: 0;
    left: 4px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .career-timeline article {
    padding-top: 0;
  }

  .career-timeline article::before {
    top: 3px;
    left: -22px;
  }
}
