/* =========================================================
   QUICKENED WORKFORCE LIFECYCLE
========================================================= */

/* =========================================================
   ROOT SECTION
========================================================= */

.lifecycle-section {
  position: relative;
  overflow: hidden;

  padding: 130px 0 110px;

  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);

  color: #05225e;
}

/* =========================================================
   BACKGROUND
========================================================= */

.lifecycle-bg {
  position: absolute;
  inset: 0;

  overflow: hidden;

  pointer-events: none;
}

.lifecycle-glow {
  position: absolute;

  border-radius: 50%;

  filter: blur(110px);

  pointer-events: none;
}

.lifecycle-glow-one {
  width: 520px;
  height: 520px;

  top: -360px;
  right: -150px;

  background: rgba(3, 58, 161, 0.08);
}

.lifecycle-glow-two {
  width: 420px;
  height: 420px;

  bottom: -300px;
  left: -200px;

  background: rgba(221, 3, 27, 0.035);
}

.lifecycle-grid {
  position: absolute;
  inset: 0;

  opacity: 0.22;

  background-image:
    linear-gradient(rgba(5, 34, 94, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 34, 94, 0.025) 1px, transparent 1px);

  background-size: 80px 80px;

  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 22%,
    black 78%,
    transparent 100%
  );

  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 22%,
    black 78%,
    transparent 100%
  );
}

/* =========================================================
   CONTAINER
========================================================= */

.lifecycle-container {
  position: relative;
  z-index: 2;

  width: min(1240px, calc(100% - 64px));

  margin: 0 auto;
}

/* =========================================================
   HEADER
========================================================= */

.lifecycle-header {
  margin-bottom: 105px;
}

.lifecycle-eyebrow {
  display: flex;

  align-items: center;

  gap: 15px;

  margin-bottom: 28px;

  color: #033aa1;

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.2em;
}

.lifecycle-eyebrow-mark {
  position: relative;

  width: 46px;
  height: 1px;

  flex: 0 0 auto;

  background: rgba(3, 58, 161, 0.65);
}

.lifecycle-eyebrow-mark::before {
  content: "";

  position: absolute;

  left: 0;
  top: 50%;

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #dd031b;

  transform: translateY(-50%);

  box-shadow: 0 0 0 3px rgba(221, 3, 27, 0.08);
}

/* =========================================================
   HEADER HEADING
========================================================= */

.lifecycle-heading-row {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    370px;

  align-items: center;

  gap: 85px;
}

.lifecycle-title {
  margin: 0;

  max-width: 900px;

  color: #05225e;

  font-size: clamp(58px, 7vw, 94px);

  font-weight: 700;

  line-height: 0.95;

  letter-spacing: -0.06em;
}

.lifecycle-title span {
  display: block;

  color: #0646bd;
}

/* =========================================================
   INTRO
========================================================= */

.lifecycle-intro {
  display: flex;

  align-items: stretch;

  gap: 22px;
}

.intro-accent {
  flex: 0 0 auto;

  width: 3px;

  min-height: 94px;

  border-radius: 20px;

  background: linear-gradient(180deg, #dd031b 0%, #0646bd 100%);
}

.lifecycle-intro p {
  max-width: 310px;

  margin: 0;

  color: #71829f;

  font-size: 15px;

  line-height: 1.75;
}

/* =========================================================
   JOURNEY
========================================================= */

.lifecycle-journey {
  position: relative;

  display: grid;

  grid-template-columns: repeat(6, minmax(0, 1fr));

  gap: 28px;

  padding-top: 31px;
}

/* =========================================================
   MAIN HORIZONTAL LINE
========================================================= */

.journey-line {
  position: absolute;

  top: 0;
  left: 0;
  right: 0;

  height: 2px;

  pointer-events: none;
}

.journey-line-base {
  position: absolute;

  inset: 0;

  background: rgba(3, 58, 161, 0.16);
}

.journey-line-progress {
  position: absolute;

  top: 0;
  left: 0;

  width: 0;
  height: 100%;

  background: linear-gradient(90deg, #0646bd 0%, #0646bd 78%, #dd031b 100%);

  transition: width 2.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.lifecycle-section.is-active .journey-line-progress {
  width: 100%;
}

/* =========================================================
   CONNECTOR DOTS
========================================================= */

.journey-step::after {
  content: "";

  position: absolute;

  top: -3px;
  right: -16px;

  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #0646bd;

  opacity: 0;

  transform: scale(0);

  transition:
    opacity 0.4s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.lifecycle-section.is-active .journey-step::after {
  opacity: 1;

  transform: scale(1);
}

.journey-step:nth-child(2)::after {
  transition-delay: 0.35s;
}

.journey-step:nth-child(3)::after {
  transition-delay: 0.55s;
}

.journey-step:nth-child(4)::after {
  transition-delay: 0.75s;
}

.journey-step:nth-child(5)::after {
  transition-delay: 0.95s;
}

.journey-step:nth-child(6)::after {
  transition-delay: 1.15s;
}

.journey-step-final::after {
  display: none;
}

/* =========================================================
   STEP REVEAL
========================================================= */

.journey-step {
  position: relative;

  min-width: 0;

  opacity: 0;

  transform: translateY(30px);

  transition:
    opacity 0.75s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   SEQUENTIAL REVEAL
========================================================= */

.lifecycle-section.is-active .journey-step:nth-child(2) {
  opacity: 1;

  transform: translateY(0);

  transition-delay: 0.05s;
}

.lifecycle-section.is-active .journey-step:nth-child(3) {
  opacity: 1;

  transform: translateY(0);

  transition-delay: 0.2s;
}

.lifecycle-section.is-active .journey-step:nth-child(4) {
  opacity: 1;

  transform: translateY(0);

  transition-delay: 0.35s;
}

.lifecycle-section.is-active .journey-step:nth-child(5) {
  opacity: 1;

  transform: translateY(0);

  transition-delay: 0.5s;
}

.lifecycle-section.is-active .journey-step:nth-child(6) {
  opacity: 1;

  transform: translateY(0);

  transition-delay: 0.65s;
}

.lifecycle-section.is-active .journey-step:nth-child(7) {
  opacity: 1;

  transform: translateY(0);

  transition-delay: 0.8s;
}

/* =========================================================
   NUMBER MARKER
========================================================= */

.journey-marker {
  position: relative;

  display: flex;

  align-items: center;
  justify-content: center;

  width: 72px;
  height: 72px;

  margin-bottom: 32px;

  flex: 0 0 72px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.96);

  border: 1px solid rgba(3, 58, 161, 0.24);

  box-shadow: 0 10px 35px rgba(5, 34, 94, 0.07);

  transform: scale(0.75);

  transition:
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

/* =========================================================
   OUTER CIRCLE
========================================================= */

.marker-ring {
  position: absolute;

  inset: -7px;

  border-radius: 50%;

  border: 1px solid rgba(3, 58, 161, 0.08);

  transform: scale(0.7);

  opacity: 0;

  transition:
    opacity 0.6s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.lifecycle-section.is-active .journey-marker {
  transform: scale(1);
}

.lifecycle-section.is-active .marker-ring {
  opacity: 1;

  transform: scale(1);
}

/* =========================================================
   NUMBER
========================================================= */

.journey-number {
  position: relative;

  z-index: 2;

  display: block;

  color: #033aa1;

  font-size: 18px;

  font-weight: 700;

  line-height: 1;

  letter-spacing: -0.02em;

  font-variant-numeric: tabular-nums;
}

/* =========================================================
   FINAL STEP
========================================================= */

.journey-step-final .journey-marker {
  border-color: rgba(221, 3, 27, 0.3);
}

.journey-step-final .journey-number {
  color: #dd031b;
}

.journey-step-final .marker-ring {
  border-color: rgba(221, 3, 27, 0.1);
}

/* =========================================================
   FINAL PULSE
========================================================= */

.lifecycle-section.is-active .journey-step-final .journey-marker {
  animation: finalMarkerPulse 3.2s ease-in-out 1.8s infinite;
}

@keyframes finalMarkerPulse {
  0%,
  100% {
    box-shadow: 0 10px 35px rgba(5, 34, 94, 0.07);
  }

  50% {
    box-shadow: 0 10px 40px rgba(221, 3, 27, 0.14);
  }
}

/* =========================================================
   STEP LABEL
========================================================= */

.journey-label {
  display: block;

  margin-bottom: 12px;

  color: #8493aa;

  font-size: 10px;

  font-weight: 800;

  line-height: 1.2;

  letter-spacing: 0.18em;
}

/* =========================================================
   STEP TITLE
========================================================= */

.journey-content h3 {
  margin: 0 0 12px;

  color: #05225e;

  font-size: 25px;

  font-weight: 700;

  line-height: 1.1;

  letter-spacing: -0.035em;

  transition: color 0.3s ease;
}

/* =========================================================
   STEP DESCRIPTION
========================================================= */

.journey-content p {
  max-width: 175px;

  margin: 0;

  color: #7787a1;

  font-size: 13px;

  line-height: 1.65;
}

/* =========================================================
   DESKTOP HOVER
========================================================= */

@media (hover: hover) and (pointer: fine) {
  .journey-step:hover .journey-marker {
    border-color: rgba(3, 58, 161, 0.55);

    box-shadow: 0 15px 40px rgba(3, 58, 161, 0.11);
  }

  .journey-step:hover .journey-content h3 {
    color: #0646bd;
  }
}

/* =========================================================
   FOOTER
========================================================= */

.lifecycle-footer {
  display: grid;

  grid-template-columns:
    1fr
    auto
    1fr;

  align-items: center;

  gap: 38px;

  margin-top: 90px;
}

.footer-line {
  display: block;

  width: 100%;

  height: 1px;

  background: rgba(3, 58, 161, 0.15);
}

.footer-caption {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 12px;

  color: #033aa1;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 0.2em;

  white-space: nowrap;
}

.footer-accent {
  width: 32px;
  height: 2px;

  flex: 0 0 32px;

  background: linear-gradient(90deg, #dd031b, #0646bd);
}

.footer-blue-line {
  width: 32px;
  height: 2px;

  flex: 0 0 32px;

  background: #0646bd;
}

/* =========================================================
   LARGE TABLET
   901px — 1100px
========================================================= */

@media (max-width: 1100px) {
  .lifecycle-section {
    padding: 110px 0 95px;
  }

  .lifecycle-container {
    width: min(100% - 48px, 1000px);
  }

  .lifecycle-header {
    margin-bottom: 80px;
  }

  .lifecycle-heading-row {
    grid-template-columns:
      minmax(0, 1fr)
      300px;

    gap: 50px;
  }

  .lifecycle-title {
    font-size: clamp(54px, 7vw, 78px);
  }

  .lifecycle-intro {
    gap: 18px;
  }

  .lifecycle-intro p {
    font-size: 14px;
  }

  .lifecycle-journey {
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 70px 42px;

    padding-top: 0;
  }

  .journey-line {
    display: none;
  }

  .journey-step::after {
    display: none;
  }

  .journey-marker {
    margin-bottom: 25px;
  }

  .journey-content p {
    max-width: 250px;
  }

  .lifecycle-footer {
    margin-top: 75px;
  }
}

/* =========================================================
   TABLET / LARGE PHONE
   761px — 900px
========================================================= */

@media (max-width: 900px) {
  .lifecycle-section {
    padding: 95px 0 85px;
  }

  .lifecycle-container {
    width: calc(100% - 48px);
  }

  .lifecycle-heading-row {
    grid-template-columns:
      minmax(0, 1fr)
      260px;

    gap: 35px;
  }

  .lifecycle-title {
    font-size: clamp(50px, 7.5vw, 68px);
  }

  .lifecycle-intro p {
    font-size: 13px;

    line-height: 1.7;
  }

  .lifecycle-journey {
    gap: 60px 30px;
  }

  .journey-content h3 {
    font-size: 22px;
  }

  .journey-content p {
    font-size: 12.5px;
  }

  .lifecycle-footer {
    gap: 24px;
  }
}

/* =========================================================
   MOBILE
   0px — 760px
========================================================= */

@media (max-width: 760px) {
  .lifecycle-section {
    padding: 78px 0 70px;
  }

  /* -------------------------------------------------------
     CONTAINER
  ------------------------------------------------------- */

  .lifecycle-container {
    width: calc(100% - 32px);

    max-width: 560px;
  }

  /* -------------------------------------------------------
     HEADER
  ------------------------------------------------------- */

  .lifecycle-header {
    margin-bottom: 62px;
  }

  .lifecycle-eyebrow {
    gap: 11px;

    margin-bottom: 22px;

    font-size: 9px;

    letter-spacing: 0.18em;
  }

  .lifecycle-eyebrow-mark {
    width: 34px;

    height: 2px;
  }

  /* -------------------------------------------------------
     HEADING
  ------------------------------------------------------- */

  .lifecycle-heading-row {
    display: block;
  }

  .lifecycle-title {
    width: 100%;

    max-width: 600px;

    font-size: clamp(42px, 11.5vw, 64px);

    line-height: 0.96;

    letter-spacing: -0.055em;
  }

  /* -------------------------------------------------------
     INTRO
  ------------------------------------------------------- */

  .lifecycle-intro {
    width: 100%;

    margin-top: 30px;

    gap: 15px;
  }

  .intro-accent {
    width: 2px;

    min-height: 76px;
  }

  .lifecycle-intro p {
    width: 100%;

    max-width: 480px;

    font-size: 13px;

    line-height: 1.7;
  }

  /* -------------------------------------------------------
     MOBILE JOURNEY
  ------------------------------------------------------- */

  .lifecycle-journey {
    position: relative;

    display: block;

    width: 100%;

    padding: 0 0 0 58px;
  }

  /* Vertical background line */

  .lifecycle-journey::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    left: 18px;

    width: 1px;

    background: rgba(3, 58, 161, 0.14);
  }

  /* Animated vertical line */

  .journey-line {
    display: block;

    position: absolute;

    top: 0;
    bottom: 0;

    left: 17px;
    right: auto;

    width: 2px;

    height: auto;

    overflow: hidden;
  }

  .journey-line-base {
    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    background: rgba(3, 58, 161, 0.13);
  }

  .journey-line-progress {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    height: 0;

    background: linear-gradient(180deg, #0646bd 0%, #0646bd 76%, #dd031b 100%);

    transition: height 2.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .lifecycle-section.is-active .journey-line-progress {
    width: 100%;

    height: 100%;
  }

  /* -------------------------------------------------------
     STEP
  ------------------------------------------------------- */

  .journey-step {
    width: 100%;

    min-height: 0;

    padding: 0 0 54px;

    opacity: 0;

    transform: translateY(24px);
  }

  .journey-step:last-child {
    padding-bottom: 0;
  }

  /* -------------------------------------------------------
     MOBILE REVEAL
  ------------------------------------------------------- */

  .lifecycle-section.is-active .journey-step:nth-child(2) {
    opacity: 1;

    transform: translateY(0);

    transition-delay: 0.1s;
  }

  .lifecycle-section.is-active .journey-step:nth-child(3) {
    opacity: 1;

    transform: translateY(0);

    transition-delay: 0.28s;
  }

  .lifecycle-section.is-active .journey-step:nth-child(4) {
    opacity: 1;

    transform: translateY(0);

    transition-delay: 0.46s;
  }

  .lifecycle-section.is-active .journey-step:nth-child(5) {
    opacity: 1;

    transform: translateY(0);

    transition-delay: 0.64s;
  }

  .lifecycle-section.is-active .journey-step:nth-child(6) {
    opacity: 1;

    transform: translateY(0);

    transition-delay: 0.82s;
  }

  .lifecycle-section.is-active .journey-step:nth-child(7) {
    opacity: 1;

    transform: translateY(0);

    transition-delay: 1s;
  }

  /* -------------------------------------------------------
     REMOVE DESKTOP CONNECTOR DOTS
  ------------------------------------------------------- */

  .journey-step::after {
    display: none;
  }

  /* -------------------------------------------------------
     MOBILE NUMBER CIRCLE
  ------------------------------------------------------- */

  .journey-marker {
    position: absolute;

    top: -4px;
    left: -58px;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    margin: 0;

    flex: 0 0 46px;

    transform: scale(0.75);

    box-shadow: 0 8px 24px rgba(5, 34, 94, 0.07);
  }

  .lifecycle-section.is-active .journey-marker {
    transform: scale(1);
  }

  /* Outer ring */

  .marker-ring {
    inset: -5px;

    transform: scale(0.7);
  }

  .lifecycle-section.is-active .marker-ring {
    transform: scale(1);
  }

  /* Number */

  .journey-number {
    font-size: 13px;

    line-height: 1;
  }

  /* -------------------------------------------------------
     CONTENT
  ------------------------------------------------------- */

  .journey-content {
    width: 100%;
  }

  .journey-label {
    margin-bottom: 9px;

    font-size: 9px;

    letter-spacing: 0.18em;
  }

  .journey-content h3 {
    margin-bottom: 9px;

    font-size: clamp(21px, 6vw, 25px);

    line-height: 1.12;
  }

  .journey-content p {
    width: 100%;

    max-width: 480px;

    font-size: 13px;

    line-height: 1.65;
  }

  /* -------------------------------------------------------
     FOOTER
  ------------------------------------------------------- */

  .lifecycle-footer {
    display: flex;

    flex-direction: column;

    width: 100%;

    gap: 18px;

    margin-top: 62px;
  }

  .footer-line {
    width: 100%;

    height: 1px;
  }

  .footer-caption {
    width: 100%;

    gap: 9px;

    font-size: 8px;

    letter-spacing: 0.16em;

    white-space: normal;

    text-align: center;
  }

  .footer-accent,
  .footer-blue-line {
    width: 24px;

    flex: 0 0 24px;
  }
}

/* =========================================================
   MOBILE — 600px AND BELOW
========================================================= */

@media (max-width: 600px) {
  .lifecycle-section {
    padding: 72px 0 64px;
  }

  .lifecycle-container {
    width: calc(100% - 30px);
  }

  .lifecycle-header {
    margin-bottom: 56px;
  }

  .lifecycle-title {
    font-size: clamp(40px, 11.8vw, 58px);
  }

  .lifecycle-intro {
    margin-top: 27px;
  }

  .lifecycle-intro p {
    font-size: 12.5px;

    line-height: 1.68;
  }

  .lifecycle-journey {
    padding-left: 54px;
  }

  .lifecycle-journey::before {
    left: 16px;
  }

  .journey-line {
    left: 15px;
  }

  .journey-marker {
    left: -54px;

    width: 44px;
    height: 44px;
  }

  .journey-number {
    font-size: 12px;
  }

  .marker-ring {
    inset: -5px;
  }

  .journey-step {
    padding-bottom: 50px;
  }

  .journey-label {
    font-size: 8px;

    margin-bottom: 8px;
  }

  .journey-content h3 {
    font-size: clamp(20px, 6vw, 23px);
  }

  .journey-content p {
    font-size: 12.5px;

    line-height: 1.65;
  }

  .lifecycle-footer {
    margin-top: 54px;
  }
}

/* =========================================================
   SMALL MOBILE
   430px AND BELOW
========================================================= */

@media (max-width: 430px) {
  .lifecycle-section {
    padding: 64px 0 56px;
  }

  .lifecycle-container {
    width: calc(100% - 28px);
  }

  /* Header */

  .lifecycle-eyebrow {
    gap: 9px;

    margin-bottom: 19px;

    font-size: 8px;

    letter-spacing: 0.17em;
  }

  .lifecycle-eyebrow-mark {
    width: 28px;
  }

  /* Heading */

  .lifecycle-title {
    font-size: clamp(37px, 11.5vw, 50px);

    line-height: 0.97;

    letter-spacing: -0.052em;
  }

  /* Intro */

  .lifecycle-intro {
    margin-top: 24px;

    gap: 12px;
  }

  .intro-accent {
    width: 2px;

    min-height: 72px;
  }

  .lifecycle-intro p {
    font-size: 12px;

    line-height: 1.65;
  }

  /* Journey */

  .lifecycle-journey {
    padding-left: 51px;
  }

  .lifecycle-journey::before {
    left: 14px;
  }

  .journey-line {
    left: 13px;

    width: 2px;
  }

  .journey-marker {
    left: -51px;

    width: 42px;
    height: 42px;
  }

  .journey-number {
    font-size: 11.5px;
  }

  .marker-ring {
    inset: -5px;
  }

  .journey-step {
    padding-bottom: 47px;
  }

  .journey-label {
    margin-bottom: 7px;

    font-size: 7.5px;

    letter-spacing: 0.17em;
  }

  .journey-content h3 {
    margin-bottom: 8px;

    font-size: clamp(19px, 6vw, 22px);
  }

  .journey-content p {
    font-size: 11.5px;

    line-height: 1.65;
  }

  /* Footer */

  .lifecycle-footer {
    gap: 15px;

    margin-top: 50px;
  }

  .footer-caption {
    gap: 7px;

    font-size: 7px;

    letter-spacing: 0.12em;

    line-height: 1.5;
  }

  .footer-accent,
  .footer-blue-line {
    width: 20px;

    flex-basis: 20px;

    height: 1.5px;
  }
}

/* =========================================================
   VERY SMALL PHONES
   360px AND BELOW
========================================================= */

@media (max-width: 360px) {
  .lifecycle-section {
    padding: 58px 0 50px;
  }

  .lifecycle-container {
    width: calc(100% - 24px);
  }

  .lifecycle-title {
    font-size: 36px;

    letter-spacing: -0.05em;
  }

  .lifecycle-intro p {
    font-size: 11.5px;
  }

  .lifecycle-journey {
    padding-left: 48px;
  }

  .lifecycle-journey::before {
    left: 13px;
  }

  .journey-line {
    left: 12px;
  }

  .journey-marker {
    left: -48px;

    width: 40px;
    height: 40px;
  }

  .journey-number {
    font-size: 11px;
  }

  .journey-step {
    padding-bottom: 44px;
  }

  .journey-content h3 {
    font-size: 19px;
  }

  .journey-content p {
    font-size: 11px;

    line-height: 1.6;
  }

  .footer-caption {
    font-size: 6.5px;

    letter-spacing: 0.1em;
  }
}

/* =========================================================
   LANDSCAPE MOBILE
========================================================= */

@media (max-width: 760px) and (orientation: landscape) {
  .lifecycle-section {
    padding: 65px 0 60px;
  }

  .lifecycle-title {
    font-size: clamp(38px, 8vw, 55px);
  }

  .lifecycle-header {
    margin-bottom: 52px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .journey-step,
  .journey-marker,
  .marker-ring,
  .journey-line-progress {
    transition: none !important;
  }

  .journey-step-final .journey-marker {
    animation: none !important;
  }
}
