/* Education and career as a continuous editorial story. */
.story .trajectory-heading { grid-template-columns: 1fr 1fr; gap: 70px; margin-bottom: 52px; }
.story .trajectory-heading .path-intro { max-width: 420px; padding-bottom: 4px; font-size: 19px; line-height: 1.7; }
.story .trajectory-education { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(48px, 6vw, 90px); align-items: start; }
.story .education-portrait { margin: 0; padding-top: 7px; min-width: 0; }
.story .education-portrait-frame { overflow: hidden; background: #111923; height: clamp(500px, 42vw, 620px); }
.story .education-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 61% 49%; }
.story .education-portrait figcaption { display: flex; justify-content: space-between; gap: 20px; margin-top: 16px; padding-top: 13px; border-top: 1px solid #ffffff24; color: #acbad0; font-size: 13px; line-height: 1.6; }
.story .education-portrait figcaption span:first-child { color: #d0d9e7; }
.story .education-chapters { min-width: 0; }
.story .education-chapter-top { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 17px; }
.story .education-mark { flex-shrink: 0; display: flex; align-items: center; justify-content: flex-start; width: 150px; height: 52px; overflow: hidden; }
.story .education-mark img { display: block; flex-shrink: 0; width: 100%; max-width: none; object-fit: contain; filter: grayscale(1) brightness(2.7); }
.story .education-mark-penn img { height: 84px; }
.story .education-mark-srm { width: 120px; height: 45px; }
.story .education-mark-srm img { height: 41px; }
.story .education-period { color: #91a4bf; font-size: 14px; line-height: 1.6; white-space: nowrap; }
.story .education-chapter h3 { margin: 0; color: #c8d4e6; font-size: 17px; line-height: 1.6; font-weight: 400; letter-spacing: -.01em; }
.story .education-degree { margin-top: 25px; }
.story .education-qualification { margin: 0 0 7px; color: #829abc; font-size: 13px; line-height: 1.6; letter-spacing: .045em; }
.story .education-degree h4 { margin: 0; color: #edf2fa; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.3; letter-spacing: -.035em; font-weight: 400; max-width: 600px; }
.story .education-srm { margin-top: 36px; padding-top: 29px; border-top: 1px solid #ffffff20; }
.story .education-srm .education-chapter-top { margin-bottom: 12px; }
.story .education-srm .education-degree { margin-top: 19px; }
.story .education-srm .education-degree h4 { font-size: clamp(22px, 1.9vw, 28px); max-width: 470px; line-height: 1.4; }

.trajectory-career { padding-top: 110px; padding-bottom: 100px; font-family: Manrope, Arial, sans-serif; }
.trajectory-career .career-editorial { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(70px, 8vw, 132px); align-items: start; }
.trajectory-career .career-overview { position: sticky; top: 133px; min-width: 0; }
.trajectory-career .career-eyebrow { margin-bottom: 23px; color: #99adc9; font-size: 13px; line-height: 1.6; letter-spacing: .09em; text-transform: uppercase; }
.trajectory-career .career-overview h2 { font-size: clamp(40px, 4.1vw, 62px); font-weight: 400; line-height: 1.13; letter-spacing: -.045em; }
.trajectory-career .career-overview-copy { margin-top: 24px; max-width: 31ch; color: #a8b8ce; font-size: 18px; line-height: 1.8; }
.trajectory-career .career-index { display: grid; gap: 3px; margin-top: 32px; max-width: 310px; }
.trajectory-career .career-index a { display: flex; align-items: baseline; gap: 22px; padding: 8px 0; color: #a3b1c5; font-size: 15px; line-height: 1.6; transition: color .25s; }
.trajectory-career .career-index a > span { width: 18px; color: #697f9e; font-size: 12px; font-variant-numeric: tabular-nums; transition: color .25s; }
.trajectory-career .career-index a.is-active, .trajectory-career .career-index a:hover { color: #eef4ff; }
.trajectory-career .career-index a.is-active > span, .trajectory-career .career-index a:hover > span { color: #83b0ff; }
.trajectory-career .career-resume-link { display: inline-flex; align-items: center; gap: 21px; margin-top: 32px; min-height: 44px; padding: 9px 0; color: #c8dcfc; border-bottom: 1px solid #4b6992; font-size: 14px; line-height: 1.6; }
.trajectory-career .career-resume-link:hover { color: #fff; border-color: #a8c7f6; }
.trajectory-career .career-chapters { min-width: 0; }
.trajectory-career .career-chapter { position: relative; padding: 5px 0 49px 32px; margin-bottom: 47px; border-bottom: 1px solid #ffffff1c; scroll-margin-top: 137px; }
.trajectory-career .career-chapter::before { content: ''; position: absolute; top: 7px; left: 0; width: 2px; height: 55px; background: #2c3d55; transition: height .5s ease, background .5s ease, box-shadow .5s ease; }
.trajectory-career .career-chapter.is-active::before { height: 94px; background: #75a7ff; box-shadow: 0 0 17px #3476ff24; }
.trajectory-career .career-chapter:last-child { padding-bottom: 9px; margin-bottom: 0; border-bottom: 0; }
.trajectory-career .career-chapter-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; color: #98abc6; font-size: 13px; line-height: 1.6; }
.trajectory-career .career-chapter-meta > span:last-child { white-space: nowrap; }
.trajectory-career .career-company { display: flex; align-items: center; overflow: hidden; height: 50px; margin: 25px 0 19px; font-size: 34px; line-height: 1; font-weight: 500; letter-spacing: -.045em; color: #edf2fa; }
.trajectory-career .career-company img { display: block; flex-shrink: 0; max-width: none; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; }
.trajectory-career .career-company-lore img { width: 142px; height: 34px; }
.trajectory-career .career-company-barclays { height: 63px; margin-top: 18px; margin-bottom: 18px; }
.trajectory-career .career-company-barclays img { width: 114px; height: 64px; }
.trajectory-career .career-company-caterpillar img { width: 171px; height: 107px; }
.trajectory-career .career-position { margin: 0 0 23px; max-width: 24ch; color: #e8eef8; font-size: clamp(25px, 2.45vw, 35px); line-height: 1.25; letter-spacing: -.03em; font-weight: 400; }
.trajectory-career .career-narrative { max-width: 60ch; }
.trajectory-career .career-narrative p { margin: 0; color: #b7c5d9; font-size: 18px; line-height: 1.8; }
.trajectory-career .career-narrative p + p { margin-top: 17px; }
.trajectory-career .career-promotion { margin: -10px 0 23px; color: #8da6ca; font-size: 14px; line-height: 1.7; }
.trajectory-career .career-context { display: flex; flex-wrap: wrap; gap: 9px 12px; margin: 25px 0 0; color: #8ba4c9; font-size: 13px; line-height: 1.6; }
.trajectory-career .career-context > span { color: #435c80; }

@media (min-width: 1500px) and (max-height: 800px) {
  .trajectory-career .career-overview { top: 118px; }
  .trajectory-career .career-overview h2 { font-size: 56px; }
  .trajectory-career .career-overview-copy { margin-top: 20px; }
  .trajectory-career .career-index { margin-top: 20px; }
  .trajectory-career .career-resume-link { margin-top: 20px; }
}
@media (max-width: 1100px) {
  .story .trajectory-heading { gap: 40px; }
  .story .trajectory-education { gap: 43px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .story .education-portrait-frame { height: 600px; }
  .story .education-chapter-top { gap: 16px; }
  .story .education-degree-break { display: none; }
  .trajectory-career .career-editorial { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 53px; }
  .trajectory-career .career-overview h2 { font-size: 44px; }
  .trajectory-career .career-overview-copy { font-size: 17px; }
  .trajectory-career .career-chapter { padding-left: 24px; }
  .trajectory-career .career-position { font-size: 29px; }
  .trajectory-career .career-chapter-meta { flex-wrap: wrap; gap: 6px 20px; }
}
@media (max-width: 899px) {
  .story .trajectory-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 38px; }
  .story .trajectory-heading .path-intro { max-width: 480px; font-size: 18px; }
  .story .trajectory-education { gap: 30px; }
  .story .education-mark { width: 130px; }
  .story .education-mark-srm { width: 103px; }
  .story .education-period { font-size: 13px; }
  .story .education-chapter-top { flex-wrap: wrap; gap: 12px 20px; }
  .story .education-portrait-frame { height: 690px; }
  .story .education-degree h4 { font-size: 25px; }
  .story .education-srm .education-degree h4 { font-size: 23px; }
  .trajectory-career { padding-top: 79px; padding-bottom: 75px; }
  .trajectory-career .career-editorial { grid-template-columns: 1fr; gap: 45px; }
  .trajectory-career .career-overview { position: static; }
  .trajectory-career .career-overview h2 { font-size: 52px; }
  .trajectory-career .career-overview-copy { max-width: 54ch; }
  .trajectory-career .career-index { grid-template-columns: repeat(4, auto); justify-content: start; gap: 10px 26px; max-width: none; margin-top: 25px; }
  .trajectory-career .career-index a { gap: 10px; font-size: 14px; }
  .trajectory-career .career-index a > span { width: auto; }
  .trajectory-career .career-resume-link { margin-top: 18px; }
  .trajectory-career .career-chapter { padding-left: 27px; }
  .trajectory-career .career-chapter-meta { flex-wrap: nowrap; }
  .trajectory-career .career-narrative { max-width: 60ch; }
}
@media (max-width: 599px) {
  .story .trajectory-heading { margin-bottom: 30px; }
  .story .trajectory-heading .path-intro { font-size: 17px; line-height: 1.75; }
  .story .trajectory-education { display: flex; flex-direction: column; gap: 33px; }
  .story .education-portrait { width: 100%; padding-top: 0; }
  .story .education-portrait-frame { height: auto; aspect-ratio: 1.05; position: relative; }
  .story .education-portrait img { position: absolute; inset: 0; object-position: 61% 44%; }
  .story .education-portrait figcaption { margin-top: 13px; padding-top: 11px; }
  .story .education-chapters { width: 100%; }
  .story .education-chapter-top { flex-wrap: nowrap; margin-bottom: 15px; }
  .story .education-mark { width: 146px; height: 50px; }
  .story .education-mark-srm { width: 118px; height: 41px; }
  .story .education-chapter h3 { font-size: 16px; }
  .story .education-degree { margin-top: 23px; }
  .story .education-qualification { font-size: 13px; margin-bottom: 6px; }
  .story .education-degree h4 { font-size: 26px; line-height: 1.35; }
  .story .education-srm { margin-top: 29px; padding-top: 25px; }
  .story .education-srm .education-degree h4 { font-size: 24px; }
  .trajectory-career { padding-top: 64px; padding-bottom: 65px; }
  .trajectory-career .career-editorial { gap: 35px; }
  .trajectory-career .career-eyebrow { margin-bottom: 17px; font-size: 13px; }
  .trajectory-career .career-overview h2 { font-size: 46px; }
  .trajectory-career .career-overview-copy { margin-top: 20px; font-size: 17px; line-height: 1.8; }
  .trajectory-career .career-index { grid-template-columns: 1fr 1fr; gap: 4px 22px; margin-top: 21px; }
  .trajectory-career .career-index a { font-size: 14px; min-height: 42px; }
  .trajectory-career .career-resume-link { margin-top: 17px; }
  .trajectory-career .career-chapter { padding: 4px 0 36px 21px; margin-bottom: 35px; scroll-margin-top: 136px; }
  .trajectory-career .career-chapter-meta { flex-wrap: wrap; column-gap: 12px; row-gap: 5px; font-size: 13px; }
  .trajectory-career .career-company { margin-top: 23px; margin-bottom: 17px; font-size: 32px; }
  .trajectory-career .career-position { margin-bottom: 20px; font-size: 27px; line-height: 1.3; max-width: 22ch; }
  .trajectory-career .career-narrative p { font-size: 17px; line-height: 1.8; }
  .trajectory-career .career-promotion { margin-top: -7px; margin-bottom: 21px; font-size: 14px; }
  .trajectory-career .career-context { margin-top: 22px; font-size: 13px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .trajectory-career .career-chapter::before, .trajectory-career .career-index a, .trajectory-career .career-index a > span { transition: none; }
}
